diff --git a/browser/finder/index.js b/browser/finder/index.js index 72220619..02aca3fb 100644 --- a/browser/finder/index.js +++ b/browser/finder/index.js @@ -21,6 +21,7 @@ function hideFinder () { function notify (title, options) { if (process.platform === 'win32') { options.icon = path.join('file://', global.__dirname, '../../resources/favicon-230x230.png') + options.silent = false } return new window.Notification(title, options) } diff --git a/browser/main/index.js b/browser/main/index.js index 8b335cfe..19d2ffd8 100644 --- a/browser/main/index.js +++ b/browser/main/index.js @@ -23,6 +23,7 @@ window.addEventListener('online', function () { function notify (title, options) { if (process.platform === 'win32') { options.icon = path.join('file://', global.__dirname, '../../resources/favicon-230x230.png') + options.silent = false } console.log(options) return new window.Notification(title, options)