Investigating Electron Startup Failures

This commit is contained in:
2026-05-31 16:24:14 +02:00
parent 33665ed896
commit 42a298925b
5 changed files with 28 additions and 27 deletions
-8
View File
@@ -36,7 +36,6 @@ export type ApplicationControllerConfig = {
bundleName: string;
log: (...args: unknown[]) => void;
}) => PreparedNodecgRuntime;
relaunch: () => void;
scheduleUpdateCheck: (config: {
getParentWindow: () => ApplicationWindow | null;
beforeInstall: () => Promise<void>;
@@ -129,13 +128,6 @@ export function createApplicationController({
log: deps.log,
});
if (preparedRuntime.installed && isPackaged) {
deps.log("Runtime was installed or refreshed; relaunching Scoreko before starting NodeCG.");
deps.relaunch();
deps.exit(0);
state = "stopped";
return;
}
nodecgManager = deps.createNodecgProcessManager(preparedRuntime.runtimePath);
-1
View File
@@ -61,7 +61,6 @@ export function bootstrap(): void {
getAllWindows: () => BrowserWindow.getAllWindows(),
log,
prepareRuntime: prepareUserNodecgRuntime,
relaunch: () => app.relaunch(),
scheduleUpdateCheck: ({ getParentWindow, beforeInstall }) => {
scheduleUpdateCheck({
appConfig,