mirror of
https://github.com/BoostIo/Boostnote
synced 2026-06-09 16:10:27 +00:00
fixed eslint error & integrated with prettier as well as formatted the whole codebase (#3450)
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
const path = require('path')
|
||||
|
||||
function notify (title, options) {
|
||||
function notify(title, options) {
|
||||
if (process.platform === 'win32') {
|
||||
options.icon = path.join('file://', global.__dirname, '../../resources/app.png')
|
||||
options.icon = path.join(
|
||||
'file://',
|
||||
global.__dirname,
|
||||
'../../resources/app.png'
|
||||
)
|
||||
options.silent = false
|
||||
}
|
||||
return new window.Notification(title, options)
|
||||
|
||||
Reference in New Issue
Block a user