Skip to content

Commit 6bf71b6

Browse files
committed
Fix latest.yml not found for specific arch
Disallow pre-releases for development purposes
1 parent 7cb7203 commit 6bf71b6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

electron/src/main-process/auto-updater.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import log from "electron-log"
66
import { mainWindow } from "./main"
77
import * as ipc from "./ipc"
88

9+
autoUpdater.allowPrerelease = false
10+
911
let userInitiated = true
1012
export function checkForUpdates(inBackground: boolean = false) {
1113
userInitiated = !inBackground

0 commit comments

Comments
 (0)