forked from React-Group/interstellar_ai
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() {
|
||||
const win = new BrowserWindow({
|
||||
width: 800,
|
||||
height: 600,
|
||||
width: 1280,
|
||||
height: 720,
|
||||
webPreferences: {
|
||||
nodeIntegration: true,
|
||||
},
|
||||
autoHideMenuBar: true,
|
||||
autoHideMenuBar: true,
|
||||
});
|
||||
|
||||
win.loadURL('http://localhost:3000');
|
||||
|
|
Loading…
Reference in a new issue