mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-23 14:42:28 +01:00
20 lines
362 B
JavaScript
20 lines
362 B
JavaScript
const { app, BrowserWindow, Menu } = require("electron");
|
|
Menu.setApplicationMenu(false);
|
|
function createWindow() {
|
|
const win = new BrowserWindow({
|
|
show: false,
|
|
webPreferences: {
|
|
devTools: false,
|
|
},
|
|
});
|
|
|
|
win.removeMenu();
|
|
win.maximize();
|
|
win.loadFile("index.html");
|
|
win.show();
|
|
}
|
|
|
|
app.whenReady().then(() => {
|
|
createWindow();
|
|
});
|