initial commit

This commit is contained in:
2026-01-14 22:33:55 +01:00
commit ccb10886b7
14 changed files with 1951 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: 1280,
height: 720
})
win.loadFile('renderer/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()
}
})