Disable updater for electron-builder tests, quick fix

This commit is contained in:
Pierre Jacquier
2024-08-29 04:46:42 -04:00
parent d9f9caea19
commit 093a1aa3b3
3 changed files with 20 additions and 17 deletions

View File

@ -156,11 +156,11 @@ jobs:
signtool.exe sign /sha1 ${{ env.WINDOWS_CERTIFICATE_THUMBPRINT }} /tr http://timestamp.digicert.com /td SHA256 /fd SHA256 "${{ env.FILE }}"
signtool.exe verify /v /pa "${{ env.FILE }}"
- uses: actions/upload-artifact@v3
with:
name: out-${{ matrix.os }}-arm64
path: |
out/*arm64*
# - uses: actions/upload-artifact@v3
# with:
# name: out-${{ matrix.os }}-arm64
# path: |
# out/*arm64*.*
# out/make/**/arm64/*
# out/make/*.dmg
# out/publish-dry-run/*/*
@ -185,9 +185,9 @@ jobs:
- uses: actions/upload-artifact@v3
with:
name: out-${{ matrix.os }}-x64
name: out-${{ matrix.os }}
path: |
out/*x64*
out/Zoo*.*
# out/make/**/x64/*
# out/make/*.dmg
# out/publish-dry-run/*/*

View File

@ -13,3 +13,6 @@ mac:
win:
target: nsis
linux:
target: appimage

View File

@ -192,16 +192,16 @@ ipcMain.handle('find_machine_api', () => {
})
})
app.on('ready', () => {
const updaterBucketUrl =
'https://dl.zoo.dev/releases/modeling-app/test/electron'
updateElectronApp({
updateSource: {
type: UpdateSourceType.StaticStorage,
baseUrl: `${updaterBucketUrl}/${process.platform}/${process.arch}`,
},
})
})
// app.on('ready', () => {
// const updaterBucketUrl =
// 'https://dl.zoo.dev/releases/modeling-app/test/electron'
// updateElectronApp({
// updateSource: {
// type: UpdateSourceType.StaticStorage,
// baseUrl: `${updaterBucketUrl}/${process.platform}/${process.arch}`,
// },
// })
// })
ipcMain.handle('loadProjectAtStartup', async () => {
// If we are in development mode, we don't want to load a project at