rabbits/Ronin.main.js
2020-08-16 12:37:31 +02:00

20 lines
405 B
JavaScript

const { app, BrowserWindow } = require('electron')
function createWindow () {
// Create the browser window.
const win = new BrowserWindow({
width: 800,
height: 600,
//autoHideMenuBar: true,
menuBarVisible: false,
webPreferences: {
nodeIntegration: true,
}
})
// and load the index.html of the app.
win.loadFile('index.html')
}
app.whenReady().then(createWindow)