This commit is contained in:
parent
a336b61b17
commit
33e1867ccd
15
main.js
15
main.js
|
@ -1,15 +0,0 @@
|
|||
var app = require('app');
|
||||
var BrowserWindow = require('browser-window');
|
||||
|
||||
var mainWindow = null;
|
||||
app.on('window-all-closed', function() {
|
||||
app.quit();
|
||||
});
|
||||
app.on('ready', function() {
|
||||
mainWindow = new BrowserWindow({width: 960, height: 660});
|
||||
mainWindow.loadUrl('file://' + __dirname + '/index.html');
|
||||
|
||||
mainWindow.on('closed', function() {
|
||||
mainWindow = null;
|
||||
});
|
||||
});
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"name": "无名杀",
|
||||
"version": "1.8.0",
|
||||
"main": "main.js"
|
||||
}
|
Loading…
Reference in New Issue