rabbits/Ronin.main.js

20 lines
405 B
JavaScript
Raw Permalink Normal View History

2020-08-16 03:37:31 -07:00
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)