|
@@ -57,10 +57,7 @@ Finally, create a `main.js` file for main process that creates the window.
|
|
|
const { app, BrowserWindow } = require('electron')
|
|
|
|
|
|
const createWindow = () => {
|
|
|
- const onlineStatusWindow = new BrowserWindow({
|
|
|
- width: 400,
|
|
|
- height: 100
|
|
|
- })
|
|
|
+ const onlineStatusWindow = new BrowserWindow()
|
|
|
|
|
|
onlineStatusWindow.loadFile('index.html')
|
|
|
}
|