mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
notification デバッグ
This commit is contained in:
@@ -24,9 +24,9 @@ function notify (...args) {
|
||||
return new window.Notification(...args)
|
||||
}
|
||||
|
||||
ipc.on('notify', function (title, message) {
|
||||
notify(title, {
|
||||
body: message
|
||||
ipc.on('notify', function (e, payload) {
|
||||
notify(payload.title, {
|
||||
body: payload.body
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user