1
0
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:
Rokt33r
2015-12-21 20:15:43 +09:00
parent 8e64abc4bc
commit 7eb767a268
3 changed files with 99 additions and 104 deletions

View File

@@ -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()
})
})