feat: auto-updater integration

- Install electron-updater
- New updater.ts: check/download/install with progress events
- IPC: updater:check, updater:download, updater:install, updater:status
- Preload bridge for updater API
- electron-builder publish config (github provider)
- Fix build files path: out -> electron-dist
- i18n keys for updater notifications (zh-CN + en)
This commit is contained in:
2026-07-05 22:13:25 +08:00
parent d131a2732d
commit 405dfa77c4
9 changed files with 163 additions and 11 deletions
+7 -1
View File
@@ -31,9 +31,14 @@
"output": "release"
},
"files": [
"out/**/*",
"electron-dist/**/*",
"package.json"
],
"publish": {
"provider": "github",
"owner": "Jokul",
"repo": "JRedisDesktop"
},
"linux": {
"target": [
"AppImage",
@@ -60,6 +65,7 @@
},
"dependencies": {
"electron-store": "^11.0.2",
"electron-updater": "^6.8.9",
"ioredis": "^5.7.0",
"pinia": "^3.0.4",
"ssh2": "^1.17.0"