UI changes to update and support auto updating (#6075)

Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
This commit is contained in:
Anthony Stirling
2026-06-02 23:11:37 +01:00
committed by GitHub
co-authored by Claude Opus 4.6
parent 919f0ade99
commit 256d1a86d2
31 changed files with 3602 additions and 488 deletions
@@ -0,0 +1,35 @@
# Auto-Update Testing
## One command (automated)
```bash
# First time only:
npm run tauri:setup-dev-update
# Run tests (builds JRE + JAR + signed bundle, starts server + app, runs checks):
npm run tauri:test-update-e2e
# Full install test (downloads + installs the update):
npm run tauri:test-update-e2e:install
# Skip rebuild if bundle already exists:
bash scripts/dev-update-test/test-update-e2e.sh --skip-build
```
## Manual testing
```bash
# Terminal 1 - serve the signed v99.0.0 update:
npm run tauri:serve-dev-update
# Terminal 2 - run the app at v0.0.1:
npm run tauri:dev-with-update
```
Go to Settings > General > Software Updates. Click "Check for Updates" then "Install Now".
## Requires
- Java 21+ JDK (with `jlink`)
- Node.js, Python 3 (with `pip install websockets`)
- First-time setup generates signing keys + config override