Electron: Only check for updates in production
This commit is contained in:
parent
43eb928af0
commit
c22a814b90
@ -118,7 +118,10 @@ export function createWindow(url?: string) {
|
|||||||
|
|
||||||
window.webContents.once('dom-ready', () => {
|
window.webContents.once('dom-ready', () => {
|
||||||
window.show();
|
window.show();
|
||||||
setupAutoUpdates(window);
|
|
||||||
|
if (process.env.APP_ENV === 'production') {
|
||||||
|
setupAutoUpdates(window);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
windows.add(window);
|
windows.add(window);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user