Skip to content

Commit

Permalink
feat: activate enable Auto update #4
Browse files Browse the repository at this point in the history
  • Loading branch information
hrenaud committed Sep 3, 2024
1 parent 1705004 commit f9563dd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ export const getMainLog = () => {
}
log.info(`******************** APP IS STARTING ********************`)

// #region update app
updateElectronApp({
updateInterval: '10 minutes',
logger: require('electron-log'),
})
// This allows TypeScript to pick up the magic constants that's auto-generated by Forge's Webpack
// plugin that tells the Electron app where to look for the Webpack-bundled app code (depending on
// whether you're running in development or production).
Expand Down

0 comments on commit f9563dd

Please sign in to comment.