File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7272 run : |
7373 cd frontend
7474
75- # Disable updater artifacts to avoid signing requirement in CI
75+ # Disable updater artifacts and resources to avoid signing/missing files in CI
7676 Write-Output "Disabling createUpdaterArtifacts for CI build..."
7777 $configPath = "src-tauri/tauri.conf.json"
7878 $json = Get-Content $configPath -Raw | ConvertFrom-Json
@@ -81,13 +81,17 @@ jobs:
8181 $json.bundle.createUpdaterArtifacts = $false
8282 $updated = $true
8383 }
84+ if ($json.bundle -and $json.bundle.resources) {
85+ $json.bundle.resources = @()
86+ $updated = $true
87+ }
8488 if ($json.plugins -and $json.plugins.updater) {
8589 $json.plugins.PSObject.Properties.Remove('updater')
8690 $updated = $true
8791 }
8892 if ($updated) {
8993 $json | ConvertTo-Json -Depth 20 | Set-Content $configPath
90- Write-Output "Updated tauri.conf.json to disable signing and remove updater config."
94+ Write-Output "Updated tauri.conf.json to disable signing, resources, and updater config."
9195 }
9296
9397 pnpm run tauri build --debug
You can’t perform that action at this time.
0 commit comments