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:
+7
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user