PicList/src/background.ts

24 lines
614 B
TypeScript
Raw Normal View History

2020-04-24 23:34:04 -04:00
import { bootstrap } from '~/main/lifeCycle'
2020-04-24 23:34:04 -04:00
bootstrap.launchApp()
2019-12-19 06:17:21 -05:00
2017-11-27 19:21:12 -05:00
/**
* 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()
// }
// })