|
@ -1,5 +1,3 @@ |
|
|
'use strict'; |
|
|
|
|
|
|
|
|
|
|
|
const electron = require('electron'); |
|
|
const electron = require('electron'); |
|
|
// Module to control application life.
|
|
|
// Module to control application life.
|
|
|
const app = electron.app; |
|
|
const app = electron.app; |
|
@ -31,6 +29,7 @@ function createWindow () { |
|
|
|
|
|
|
|
|
// This method will be called when Electron has finished
|
|
|
// This method will be called when Electron has finished
|
|
|
// initialization and is ready to create browser windows.
|
|
|
// initialization and is ready to create browser windows.
|
|
|
|
|
|
// Some APIs can only be used after this event occurs.
|
|
|
app.on('ready', createWindow); |
|
|
app.on('ready', createWindow); |
|
|
|
|
|
|
|
|
// Quit when all windows are closed.
|
|
|
// Quit when all windows are closed.
|
|
@ -49,3 +48,6 @@ app.on('activate', function () { |
|
|
createWindow(); |
|
|
createWindow(); |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
// In this file you can include the rest of your app's specific main process
|
|
|
|
|
|
// code. You can also put them in separate files and require them here.
|