1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00

use global.process

This commit is contained in:
Dick Choi
2016-08-14 02:23:24 +09:00
parent e30cfdf942
commit 2e6bb21fda

View File

@@ -11,7 +11,7 @@ const { clipboard } = electron
const path = require('path')
function notify (title, options) {
if (process.platform === 'win32') {
if (global.process.platform === 'win32') {
options.icon = path.join('file://', global.__dirname, '../../resources/app.png')
}
return new window.Notification(title, options)