mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
Menu item calls update-check
This commit is contained in:
committed by
Junyoung Choi
parent
3b5eff582a
commit
18d65d999a
@@ -3,7 +3,6 @@ const BrowserWindow = electron.BrowserWindow
|
||||
const shell = electron.shell
|
||||
const ipc = electron.ipcMain
|
||||
const mainWindow = require('./main-window')
|
||||
const { checkUpdate } = require('./main-app')
|
||||
const os = require('os')
|
||||
|
||||
const macOS = process.platform === 'darwin'
|
||||
@@ -186,7 +185,7 @@ const file = {
|
||||
{
|
||||
label: 'Update',
|
||||
click() {
|
||||
checkUpdate()
|
||||
mainWindow.webContents.send('update')
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user