Electron: Only check for updates in production

This commit is contained in:
Alexander Zinchuk 2023-06-06 11:10:04 +02:00
parent 43eb928af0
commit c22a814b90

View File

@ -118,7 +118,10 @@ export function createWindow(url?: string) {
window.webContents.once('dom-ready', () => {
window.show();
setupAutoUpdates(window);
if (process.env.APP_ENV === 'production') {
setupAutoUpdates(window);
}
});
windows.add(window);