]> git.lizzy.rs Git - cryptomail-electron.git/blob - backend.js
Initial commit
[cryptomail-electron.git] / backend.js
1 const { app, BrowserWindow } = require("electron")
2
3 app.whenReady().then(_ => {
4         new BrowserWindow({
5                 width: 800,
6                 height: 600
7         }).loadFile("main.html")
8 })
9
10 app.on("window-all-closed", _ => {
11         app.quit()
12 })