Skip to content

Commit d362dd7

Browse files
committed
✨ 支持自动更新
1 parent e205c19 commit d362dd7

File tree

11 files changed

+255
-219
lines changed

11 files changed

+255
-219
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,9 @@ jobs:
146146
with:
147147
tagName: "v${{ github.event.inputs.version }}"
148148
args: ${{ matrix.args }}
149+
updaterJsonPreferNsis: true
150+
includeUpdaterJson: true
151+
retryAttempts: 3
149152

150153
- id: sha256sum
151154
name: calculate sha256sum (linux only)

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@
2626
"@tauri-apps/plugin-dialog": "^2.2.0",
2727
"@tauri-apps/plugin-http": "^2.2.0",
2828
"@tauri-apps/plugin-os": "^2.2.0",
29+
"@tauri-apps/plugin-process": "~2",
2930
"@tauri-apps/plugin-shell": "2.2.0",
3031
"@tauri-apps/plugin-store": "^2.2.0",
32+
"@tauri-apps/plugin-updater": "~2",
3133
"i18next": "^24.2.0",
3234
"lucide-react": "^0.469.0",
3335
"react": "^19.0.0",

pnpm-lock.yaml

Lines changed: 26 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)