diff --git a/src/main/bootstrap/index.ts b/src/main/bootstrap/index.ts index 1d41427..0b53717 100644 --- a/src/main/bootstrap/index.ts +++ b/src/main/bootstrap/index.ts @@ -35,12 +35,11 @@ export async function boostrap(context: BootstrapContext): Promise { app.quit() } }) - app.on('ready', function () { - autoUpdater - .checkForUpdatesAndNotify() - .then((r) => console.log(r)) - .catch(console.error) - }) + + autoUpdater + .checkForUpdatesAndNotify() + .then((r) => console.log(r)) + .catch(console.error) attach(context)