From 141fea674fd6b1b7175f78eee1763fdb7a158c4a Mon Sep 17 00:00:00 2001 From: Cheng Zhou Date: Thu, 9 Jul 2026 10:00:31 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E4=BF=AE=E5=A4=8D=20Windows=20=E5=86=85?= =?UTF-8?q?=E6=B5=8B=E6=9E=84=E5=BB=BA=E9=85=8D=E7=BD=AE=E4=BC=A0=E5=8F=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/desktop-windows-internal.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/desktop-windows-internal.yml b/.github/workflows/desktop-windows-internal.yml index 656acf08..59f5b016 100644 --- a/.github/workflows/desktop-windows-internal.yml +++ b/.github/workflows/desktop-windows-internal.yml @@ -80,8 +80,19 @@ jobs: VITE_BUILD_CHANNEL: ${{ steps.build-metadata.outputs.channel }} VITE_BUILD_COMMIT: ${{ steps.build-metadata.outputs.commit }} + - name: Write Windows internal Tauri config + shell: pwsh + run: | + $config = @{ + bundle = @{ + createUpdaterArtifacts = $false + } + } | ConvertTo-Json -Depth 8 + Set-Content -Path "tauri.windows.internal.conf.json" -Value $config -Encoding utf8 + Get-Content "tauri.windows.internal.conf.json" + - name: Build unsigned Windows NSIS internal installer - run: npm run desktop:build -- --config '{"bundle":{"createUpdaterArtifacts":false}}' --bundles nsis + run: npm run desktop:build -- --config tauri.windows.internal.conf.json --bundles nsis env: VITE_BUILD_CHANNEL: ${{ steps.build-metadata.outputs.channel }} VITE_BUILD_COMMIT: ${{ steps.build-metadata.outputs.commit }}