Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Dec 5, 2024
1 parent b866a2d commit 0490403
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 33 deletions.
7 changes: 3 additions & 4 deletions aon/raspberry-pi.nix
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,13 @@

systemd.services.messenger_aon = {
enable = true;
path = [
inputs.aons.outputs.packages."aarch64-linux".always-online-node
];
serviceConfig = {
ExecStart = let
homeDir = config.users.users.${user}.home;
dna = self.outputs.packages."x86_64-linux".messenger_demo_dna;
in "always-only-node ${dna} --data-dir ${homeDir}";
in "${
inputs.aons.outputs.packages."aarch64-linux".always-online-node
}/bin/always-only-node ${dna} --data-dir ${homeDir}";
Restart = "always";
RestartSec = 10;
};
Expand Down
57 changes: 28 additions & 29 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,30 @@
{
"productName": "messenger-demo",
"version": "0.0.1",
"identifier": "studio.darksoil.messengerdemo",
"build": {
"beforeBuildCommand": "npm run build -w ui",
"devUrl": "http://localhost:1420",
"frontendDist": "../ui/dist"
},
"app": {
"withGlobalTauri": false,
"security": {
"csp": null
},
"windows": []
},
"bundle": {
"active": true,
"targets": "all",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/[email protected]",
"icons/icon.icns",
"icons/icon.ico"
],
"macOS": {
"entitlements": "entitlements.plist"
}
}
"productName": "messenger-demo",
"version": "0.0.1",
"identifier": "studio.darksoil.messengerdemo",
"build": {
"beforeBuildCommand": "npm run build -w ui",
"devUrl": "http://localhost:1420",
"frontendDist": "../ui/dist"
},
"app": {
"withGlobalTauri": false,
"security": {
"capabilities": ["mobile-capability", "main-capability"]
}
},
"bundle": {
"active": true,
"targets": "all",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/[email protected]",
"icons/icon.icns",
"icons/icon.ico"
],
"macOS": {
"entitlements": "entitlements.plist"
}
}
}

0 comments on commit 0490403

Please sign in to comment.