INNER CODE UNIT · TypeScript
showDesktopError
BradGroux/veritas-kanban · desktop/src/main/index.ts:81
function showDesktopError(message: string): void {
if (quitting) return;
const window = activeMainWindow();
if (!window) return;
void window
.loadURL(statusPageUrl('Veritas Kanban desktop error', message, runtime?.snapshot()))
.catch(() => undefined);
}
function isPackagedRuntime(): boolean {
return app.isPackaged || process.env.VERITAS_DESKTOP_PRODUCTION === 'true';
}
const launchPackaged = isPackagedRuntime();
const launchRepoRoot = resolveRepoRoot(app.getAppPath());
const launchProfile = process.env.VERITAS_DESKTOP_PROFILE || 'default';