feat: client auto-update with Ed25519 signing and dynamic server URL

- Add tauri-plugin-updater and tauri-plugin-process for in-app updates
- Rust commands (check_client_update, download_and_install_update) build
  updater with dynamic endpoint at runtime for self-hosted compatibility
- Server endpoint GET /api/v1/client-update/{target}/{version} translates
  GitHub Releases into Tauri updater JSON format with .sig content
- UpdateNotifier banner component with install/dismiss controls
- CI workflow produces signed .nsis.zip + .sig updater artifacts
- Self-signed TLS support via dangerousAcceptInvalidCerts config
This commit is contained in:
jevb
2026-03-18 17:47:59 +01:00
parent 750a7af052
commit 01e4d4bec3
16 changed files with 766 additions and 19 deletions
+11 -1
View File
@@ -42,5 +42,15 @@
}
}
},
"plugins": {}
"plugins": {
"updater": {
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDgxMkZGMTUzMDBBNkFCNDAKUldSQXE2WUFVL0V2Z2NjekFXaVI1elpQYVBmOUdKNmZrTzZwRC80RHlBMkQyYzZWYXdTK00xK0wK",
"endpoints": [],
"dangerousAcceptInvalidCerts": true,
"dangerousAcceptInvalidHostnames": true,
"windows": {
"installMode": "passive"
}
}
}
}