mirror of
http://amkj.cqemme.com:10080/nejery/test.git
synced 2026-08-25 06:38:30 +08:00
dev
This commit is contained in:
@@ -28,7 +28,7 @@ function createWindow () {
|
||||
// in an array if your app supports multi windows, this is the time
|
||||
// when you should delete the corresponding element.
|
||||
mainWindow = null
|
||||
})
|
||||
});
|
||||
mainWindow.webContents.openDevTools()
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -4,7 +4,8 @@
|
||||
"description": "A minimal Electron application",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
"start": "electron ."
|
||||
"start": "electron .",
|
||||
"package":"electron-packager . rikaze --platform=win32 --arch=x64 --icon=computer.ico --out=./out --asar --app-version=0.0.1 --overwrite --ignore=node_modules"
|
||||
},
|
||||
"repository": "https://github.com/electron/electron-quick-start",
|
||||
"keywords": [
|
||||
|
||||
+3
-3
@@ -4,7 +4,7 @@
|
||||
// `nodeIntegration` is turned off. Use `preload.js` to
|
||||
// selectively enable features needed in the rendering
|
||||
// process.
|
||||
|
||||
|
||||
const { BrowserWindow } = require('electron');
|
||||
let myNotification = new Notification('标题', {
|
||||
body: '通知正文内容'
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user