mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-29 17:37:34 +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();
|
|
});
|