feat: update Electron configuration and static server implementation

- Upgraded Electron version to 39.2.7 and TypeScript to 5.9.3 in package-lock.json.
- Modified next.config.ts to set output to "export" for static site generation.
- Changed package.json to include the output directory for deployment.
- Enhanced main.js to implement a static file server for production builds, serving files from the "out" directory.
- Adjusted the loading mechanism to use the static server in production and the Next.js dev server in development.
This commit is contained in:
Kacper
2025-12-13 23:12:10 +01:00
parent bc46a18372
commit bea115d1e4
4 changed files with 935 additions and 647 deletions

View File

@@ -100,7 +100,7 @@
},
"files": [
"electron/**/*",
".next/**/*",
"out/**/*",
"public/**/*",
"!node_modules/**/*"
],