diff options
-rw-r--r-- | src/electron/ipc-api/autoUpdate.ts | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/electron/ipc-api/autoUpdate.ts b/src/electron/ipc-api/autoUpdate.ts index 33af57efc..284e50e29 100644 --- a/src/electron/ipc-api/autoUpdate.ts +++ b/src/electron/ipc-api/autoUpdate.ts | |||
@@ -33,10 +33,6 @@ export default (params: { mainWindow: BrowserWindow; settings: any }) => { | |||
33 | } else if (args.action === 'install') { | 33 | } else if (args.action === 'install') { |
34 | debug('installing update'); | 34 | debug('installing update'); |
35 | autoUpdater.quitAndInstall(); | 35 | autoUpdater.quitAndInstall(); |
36 | // we need to send a quit event | ||
37 | setTimeout(() => { | ||
38 | app.quit(); | ||
39 | }, 20); | ||
40 | } | 36 | } |
41 | } catch (error) { | 37 | } catch (error) { |
42 | event.sender.send('autoUpdate', { error }); | 38 | event.sender.send('autoUpdate', { error }); |