Skip to content

Commit 2e6bb21

Browse files
committed
use global.process
1 parent e30cfdf commit 2e6bb21

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

browser/finder/NoteDetail.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const { clipboard } = electron
1111
const path = require('path')
1212

1313
function notify (title, options) {
14-
if (process.platform === 'win32') {
14+
if (global.process.platform === 'win32') {
1515
options.icon = path.join('file://', global.__dirname, '../../resources/app.png')
1616
}
1717
return new window.Notification(title, options)

0 commit comments

Comments
 (0)