Remove test code
This commit is contained in:
Родитель
5fa2831756
Коммит
9d4588a5d0
|
@ -1,4 +1,4 @@
|
|||
const {app, BrowserWindow, Notification} = require('electron')
|
||||
const {app, BrowserWindow} = require('electron')
|
||||
const path = require('path')
|
||||
|
||||
let mainWindow = null
|
||||
|
@ -27,15 +27,5 @@ exports.load = (appUrl) => {
|
|||
mainWindow = new BrowserWindow(options)
|
||||
mainWindow.loadURL(appUrl)
|
||||
mainWindow.focus()
|
||||
|
||||
const n = new Notification({
|
||||
title: 'Foo',
|
||||
body: 'Bar',
|
||||
hasReply: true,
|
||||
replyPlaceholder: 'foo'
|
||||
})
|
||||
n.on('reply', (...args) => console.log('reply', ...args))
|
||||
n.on('click', (...args) => console.log('click', ...args))
|
||||
n.show()
|
||||
})
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче