electron changes
This commit is contained in:
parent
e8aef99512
commit
7dc154b6bf
1 changed files with 3 additions and 3 deletions
6
main.js
6
main.js
|
@ -2,12 +2,12 @@ const { app, BrowserWindow } = require('electron');
|
||||||
|
|
||||||
function createWindow() {
|
function createWindow() {
|
||||||
const win = new BrowserWindow({
|
const win = new BrowserWindow({
|
||||||
width: 800,
|
width: 1280,
|
||||||
height: 600,
|
height: 720,
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
nodeIntegration: true,
|
nodeIntegration: true,
|
||||||
},
|
},
|
||||||
autoHideMenuBar: true,
|
autoHideMenuBar: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
win.loadURL('http://localhost:3000');
|
win.loadURL('http://localhost:3000');
|
||||||
|
|
Loading…
Reference in a new issue