Added: updateChecker

This commit is contained in:
Molunerfinn
2017-12-23 16:38:19 +08:00
parent 2ecb33ccb0
commit 7ada9fec39
2 changed files with 60 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ import uploader from './utils/uploader.js'
import { app, BrowserWindow, Tray, Menu, Notification, clipboard, ipcMain } from 'electron'
import db from '../datastore'
import pasteTemplate from './utils/pasteTemplate'
import updateChecker from './utils/updateChecker'
/**
* Set `__static` path to static files in production
* https://simulatedgreg.gitbooks.io/electron-vue/content/en/using-static-assets.html
@@ -296,6 +297,7 @@ app.on('ready', () => {
createWindow()
createTray()
createMenu()
updateChecker()
})
app.on('window-all-closed', () => {