Skip to content

Commit 4ab20bc

Browse files
Merge pull request #65 from lightningpixel/hotfix/fix-updater
fix: updater
2 parents 3915a03 + 8302b8c commit 4ab20bc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

electron/main/updater.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export function initAutoUpdater(getWindow: WindowGetter): void {
3030
autoUpdater.logger = logger as any
3131
autoUpdater.autoDownload = false
3232
autoUpdater.autoInstallOnAppQuit = true
33+
autoUpdater.disableWebInstaller = true
3334

3435
autoUpdater.on('update-available', (info) => {
3536
const running = app.getVersion()

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,7 @@
7070
},
7171
"nsis": {
7272
"oneClick": false,
73-
"allowToChangeInstallationDirectory": true,
74-
"disableWebInstaller": true
73+
"allowToChangeInstallationDirectory": true
7574
},
7675
"win": {
7776
"target": "nsis",

0 commit comments

Comments
 (0)