Skip to content

Commit

Permalink
fix: windows installer use nsis to fix the update issue
Browse files Browse the repository at this point in the history
  • Loading branch information
yetone committed Apr 22, 2024
1 parent 9fd4653 commit d557f92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ jobs:
releaseId: ${{ needs.create-release.outputs.release_id }}
releaseBody: ${{ needs.create-release.outputs.release_body }}
tauriScript: cargo tauri
updaterJsonPreferNsis: true

- name: Build Tauri App (macOS aarch64)
uses: tauri-apps/tauri-action@v0
Expand All @@ -181,6 +182,7 @@ jobs:
releaseBody: ${{ needs.create-release.outputs.release_body }}
args: --target aarch64-apple-darwin
tauriScript: cargo tauri
updaterJsonPreferNsis: true

build-clip-extension:
runs-on: ubuntu-22.04
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"resources/*"
],
"shortDescription": "",
"targets": "all",
"targets": ["deb", "appimage", "nsis", "app", "dmg", "updater"],
"windows": {
"certificateThumbprint": null,
"digestAlgorithm": "sha256",
Expand Down

0 comments on commit d557f92

Please sign in to comment.