From d557f922435ecffae8201a36f89e46eb0c252c83 Mon Sep 17 00:00:00 2001 From: yetone Date: Tue, 23 Apr 2024 02:13:42 +0800 Subject: [PATCH] fix: windows installer use nsis to fix the update issue --- .github/workflows/release.yaml | 2 ++ src-tauri/tauri.conf.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 62b43fdf882..563b8924a06 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 @@ -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 diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index f6822baddd6..55e650a0c82 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -67,7 +67,7 @@ "resources/*" ], "shortDescription": "", - "targets": "all", + "targets": ["deb", "appimage", "nsis", "app", "dmg", "updater"], "windows": { "certificateThumbprint": null, "digestAlgorithm": "sha256",