fix(frontend): set Electron app name

This commit is contained in:
yyovil 2026-06-11 16:39:33 +05:30 committed by GitHub
parent f07104dacc
commit 0021aa6097
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,6 @@
{
"name": "agent-orchestrator-frontend",
"productName": "Agent Orchestrator",
"version": "0.0.0",
"private": true,
"description": "Electron + TypeScript frontend for the agent-orchestrator rewrite",

View File

@ -12,6 +12,9 @@ import type { DaemonStatus } from "./shared/daemon-status";
declare const MAIN_WINDOW_VITE_DEV_SERVER_URL: string | undefined;
declare const MAIN_WINDOW_VITE_NAME: string;
// Must run before app ready so the About panel and default-menu role labels use it.
app.setName("Agent Orchestrator");
let mainWindow: BrowserWindow | null = null;
let daemonProcess: ChildProcessWithoutNullStreams | null = null;
let daemonStatus: DaemonStatus = { state: "stopped" };