Disable updater for electron-builder tests, quick fix
This commit is contained in:
14
.github/workflows/build-publish-apps.yml
vendored
14
.github/workflows/build-publish-apps.yml
vendored
@ -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/*/*
|
||||
|
||||
@ -13,3 +13,6 @@ mac:
|
||||
|
||||
win:
|
||||
target: nsis
|
||||
|
||||
linux:
|
||||
target: appimage
|
||||
|
||||
20
src/main.ts
20
src/main.ts
@ -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
|
||||
|
||||
Reference in New Issue
Block a user