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:
5
main.js
5
main.js
@@ -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})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user