mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-27 00:22:45 +00:00
IPC setup for windows & remove old updater code
This commit is contained in:
@@ -4,7 +4,6 @@ const Menu = electron.Menu
|
||||
|
||||
var finderWindow = null
|
||||
|
||||
var appQuit = false
|
||||
app.on('ready', function () {
|
||||
if (process.platform === 'darwin') {
|
||||
app.dock.hide()
|
||||
@@ -15,10 +14,4 @@ app.on('ready', function () {
|
||||
Menu.setApplicationMenu(menu)
|
||||
|
||||
finderWindow = require('./atom-lib/finder-window')
|
||||
|
||||
finderWindow.on('close', function (e) {
|
||||
if (appQuit) return true
|
||||
e.preventDefault()
|
||||
finderWindow.hide()
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user