Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit 918ad82

Browse files
committed
Don’t run auto update in dev mode
1 parent a6941f3 commit 918ad82

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

public/electron.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ autoUpdater.on('update-downloaded', () => {
159159
});
160160

161161
function initAutoUpdate() {
162+
if (isDev) return;
162163
autoUpdater.checkForUpdates();
163164
const oneHour = 60 * 60 * 1000;
164165
setInterval(() => autoUpdater.checkForUpdates(), oneHour);

0 commit comments

Comments
 (0)