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

add silent option to notification

This commit is contained in:
Dick Choi
2015-12-17 11:34:50 +09:00
parent 8776cb1cea
commit be3c519a57
2 changed files with 2 additions and 0 deletions

View File

@@ -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)