Skip to content

Commit

Permalink
fix: move release check to ready block
Browse files Browse the repository at this point in the history
  • Loading branch information
daretodave committed Apr 27, 2024
1 parent f0ec2dc commit 5a6ee7c
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/main/bootstrap/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,11 @@ export async function boostrap(context: BootstrapContext): Promise<void> {
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)

Expand Down

0 comments on commit 5a6ee7c

Please sign in to comment.