diff --git a/aon/raspberry-pi.nix b/aon/raspberry-pi.nix index 439ebf2..1210ada 100644 --- a/aon/raspberry-pi.nix +++ b/aon/raspberry-pi.nix @@ -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; }; diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index f9a15ce..c8abdee 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -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/128x128@2x.png", - "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/128x128@2x.png", + "icons/icon.icns", + "icons/icon.ico" + ], + "macOS": { + "entitlements": "entitlements.plist" + } + } }