mirror of
https://github.com/stagehacks/Cue-View.git
synced 2026-08-17 03:33:22 +00:00
add auto update
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
const { app, BrowserWindow, Menu, ipcMain, nativeTheme } = require('electron');
|
||||
const { autoUpdater } = require('electron-updater');
|
||||
const path = require('path');
|
||||
|
||||
const isMac = process.platform === 'darwin';
|
||||
@@ -152,7 +153,7 @@ const createWindow = () => {
|
||||
|
||||
menuObj = Menu.buildFromTemplate(menuTemplate);
|
||||
Menu.setApplicationMenu(menuObj);
|
||||
|
||||
autoUpdater.checkForUpdatesAndNotify();
|
||||
};
|
||||
|
||||
app.whenReady().then(() => {
|
||||
|
||||
Reference in New Issue
Block a user