electron changes

This commit is contained in:
Patrick_Pluto 2024-10-02 09:43:22 +02:00
parent e8aef99512
commit 7dc154b6bf

View file

@ -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');