Initial commit

This commit is contained in:
2026-02-15 12:07:37 +01:00
commit b0aeb6232b
8 changed files with 1140 additions and 0 deletions

26
main.js Normal file
View File

@@ -0,0 +1,26 @@
const { app, BrowserWindow } = require("electron/main");
const createWindow = () => {
const win = new BrowserWindow({
width: 800,
height: 600,
});
win.loadFile("index.html");
};
app.whenReady().then(() => {
createWindow();
app.on("activate", () => {
if (BrowserWindow.getAllWindows().length === 0) {
createWindow();
}
});
});
app.on("window-all-closed", () => {
if (process.platform !== "darwin") {
app.quit();
}
});