mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-04-07 20:20:12 +08:00
chore: TODO electron-updater
This commit is contained in:
parent
5f418ec731
commit
33566eb44a
@ -43,8 +43,9 @@ app.on('second-instance', () => {
|
||||
}
|
||||
})
|
||||
|
||||
// @TODO
|
||||
// auto update
|
||||
if (app.isPackaged) {
|
||||
/* if (app.isPackaged) {
|
||||
app.whenReady()
|
||||
.then(() => import('electron-updater'))
|
||||
.then(({ autoUpdater }) => autoUpdater.checkForUpdatesAndNotify())
|
||||
@ -52,4 +53,4 @@ if (app.isPackaged) {
|
||||
// maybe you need to record some log files.
|
||||
console.error('Failed check update:', e)
|
||||
)
|
||||
}
|
||||
} */
|
||||
|
Loading…
x
Reference in New Issue
Block a user