1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-14 02:06:29 +00:00

add 'enter to save clipboard'

This commit is contained in:
Rokt33r
2015-06-05 01:12:47 +09:00
parent c3ed69a712
commit bacccbadf3
6 changed files with 172 additions and 46 deletions

View File

@@ -12,7 +12,12 @@ app.on('window-all-closed', function () {
if (process.platform !== 'darwin') app.quit()
})
var Tray = require('tray')
var appIcon = null
app.on('ready', function () {
appIcon = new Tray('./icon.png')
appIcon.setToolTip('This is my application.')
mainWindow = new BrowserWindow({width: 800, height: 600})