mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-01-23 22:58:14 -05:00
24 lines
614 B
TypeScript
24 lines
614 B
TypeScript
import { bootstrap } from '~/main/lifeCycle'
|
|
|
|
bootstrap.launchApp()
|
|
|
|
/**
|
|
* Auto Updater
|
|
*
|
|
* Uncomment the following code below and install `electron-updater` to
|
|
* support auto updating. Code Signing with a valid certificate is required.
|
|
* https://simulatedgreg.gitbooks.io/electron-vue/content/en/using-electron-builder.html#auto-updating
|
|
*/
|
|
|
|
// import { autoUpdater } from 'electron-updater'
|
|
|
|
// autoUpdater.on('update-downloaded', () => {
|
|
// autoUpdater.quitAndInstall()
|
|
// })
|
|
|
|
// app.on('ready', () => {
|
|
// if (process.env.NODE_ENV === 'production') {
|
|
// autoUpdater.checkForUpdates()
|
|
// }
|
|
// })
|