1
0
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:
Nguyen Viet Hung
2020-02-05 13:28:27 +13:00
committed by GitHub
parent 051ce9e208
commit 592aca1539
186 changed files with 9233 additions and 5565 deletions
+6 -2
View File
@@ -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)