项目文件夹

文件
wehub-resource-sync bf122cd71b
AI Engine CI / engine (push) Failing after 0s
Check generated models / generated-models (push) Failing after 1s
Enterprise E2E (Playwright) / pick (push) Failing after 8s
Enterprise E2E (Playwright) / playwright-e2e-enterprise (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 11:59:14 +08:00

36 行
851 B
Markdown

# 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