Abgabe Max Kupper

This commit is contained in:
2025-12-05 09:15:21 +01:00
parent 00bcb5afec
commit 73e13e91db
24 changed files with 65133 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
const { app, BrowserWindow } = require('electron/main')
const createWindow = () => {
const win = new BrowserWindow({
width: 800,
height: 600
})
win.loadFile('renderer/dist/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()
}
})