diff options
Diffstat (limited to 'backend.js')
-rw-r--r-- | backend.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/backend.js b/backend.js new file mode 100644 index 0000000..92a5ea4 --- /dev/null +++ b/backend.js @@ -0,0 +1,12 @@ +const { app, BrowserWindow } = require("electron") + +app.whenReady().then(_ => { + new BrowserWindow({ + width: 800, + height: 600 + }).loadFile("main.html") +}) + +app.on("window-all-closed", _ => { + app.quit() +}) |