diff options
Diffstat (limited to 'app/electron.js')
-rw-r--r-- | app/electron.js | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/app/electron.js b/app/electron.js deleted file mode 100644 index ab7e435..0000000 --- a/app/electron.js +++ /dev/null @@ -1,17 +0,0 @@ -const {app, BrowserWindow} = require('electron') -const path = require('path') -const url = require('url') - -function createWindow () { - // Create the browser window. - win = new BrowserWindow({width: 1200, height: 900}) - - win.loadURL(url.format({ - pathname: `${__dirname}/build/index.html`, - protocol: 'file:', - slashes: true - })) - -} - -app.on('ready', createWindow)
\ No newline at end of file |