Daniel Maixner 40985456a2 Tuning
2023-04-01 18:16:50 +02:00

20 lines
487 B
JavaScript

const {app, BrowserWindow} = require('electron')
const path = require('path')
app.whenReady().then(() => {
const win = new BrowserWindow({
autoHideMenuBar: true,
width: 1200,
height: 900,
webPreferences: {
devTools: false,
nodeIntegration: false,
sandbox: false,
contextIsolation: false,
preload: path.join(__dirname, 'preload.js')
}
})
win.loadFile('./www/index.html')
})