update html and and make use of template for pages

This commit is contained in:
2026-01-15 22:05:27 +01:00
parent c5693dcd4d
commit 9cff9dd24c
5 changed files with 73 additions and 62 deletions

View File

@@ -1,9 +1,13 @@
const { app, BrowserWindow } = require('electron/main')
const path = require('node:path')
const createWindow = () => {
const win = new BrowserWindow({
width: 1280,
height: 720
height: 720,
webPreferences: {
preload: path.join(__dirname, 'preload.js')
}
})
win.loadFile('renderer/index.html')