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 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/*/*
|
||||||
|
|||||||
@ -13,3 +13,6 @@ mac:
|
|||||||
|
|
||||||
win:
|
win:
|
||||||
target: nsis
|
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', () => {
|
// 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
|
||||||
|
|||||||
Reference in New Issue
Block a user