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

View File

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

View File

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