feat: Restore Electron renderer and enhance NodeCG runtime management

This commit is contained in:
2026-05-24 16:49:02 +02:00
parent e3d3936156
commit 2e1d3a170c
5 changed files with 139 additions and 4 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
import { app, BrowserWindow } from "electron";
import path from "node:path";
import { getRuntimeConfig } from "../config/runtime-config";
import { showFatalError, log } from "../errors/error-presenter";
@@ -15,7 +16,7 @@ export function bootstrap(): void {
const paths = getApplicationPaths({
appConfig,
appDataPath: app.getPath("appData"),
compiledMainDir: __dirname,
compiledMainDir: path.resolve(__dirname, ".."),
isDev,
resourcesPath: process.resourcesPath,
});