mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 03:51:23 +01:00
11 lines
No EOL
288 B
JavaScript
11 lines
No EOL
288 B
JavaScript
import { app as electron, BrowserWindow as Window } from "electron";
|
|
|
|
electron.on('ready', () => {
|
|
const main = new Window();
|
|
main.loadURL(`file://${__dirname}/index.html`);
|
|
main.setMenuBarVisibility(false);
|
|
})
|
|
|
|
electron.on('window-all-closed', () => {
|
|
electron.quit();
|
|
}) |