mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-05 23:10:20 +00:00
Branding: update bot.molt bundle IDs + launchd labels
This commit is contained in:
@@ -1,16 +1,19 @@
|
||||
// Default service labels (for backward compatibility and when no profile specified)
|
||||
export const GATEWAY_LAUNCH_AGENT_LABEL = "com.clawdbot.gateway";
|
||||
export const GATEWAY_LAUNCH_AGENT_LABEL = "bot.molt.gateway";
|
||||
export const GATEWAY_SYSTEMD_SERVICE_NAME = "moltbot-gateway";
|
||||
export const GATEWAY_WINDOWS_TASK_NAME = "Moltbot Gateway";
|
||||
export const GATEWAY_SERVICE_MARKER = "moltbot";
|
||||
export const GATEWAY_SERVICE_KIND = "gateway";
|
||||
export const NODE_LAUNCH_AGENT_LABEL = "com.clawdbot.node";
|
||||
export const NODE_LAUNCH_AGENT_LABEL = "bot.molt.node";
|
||||
export const NODE_SYSTEMD_SERVICE_NAME = "moltbot-node";
|
||||
export const NODE_WINDOWS_TASK_NAME = "Moltbot Node";
|
||||
export const NODE_SERVICE_MARKER = "moltbot";
|
||||
export const NODE_SERVICE_KIND = "node";
|
||||
export const NODE_WINDOWS_TASK_SCRIPT_NAME = "node.cmd";
|
||||
export const LEGACY_GATEWAY_LAUNCH_AGENT_LABELS = ["com.steipete.clawdbot.gateway"];
|
||||
export const LEGACY_GATEWAY_LAUNCH_AGENT_LABELS = [
|
||||
"com.clawdbot.gateway",
|
||||
"com.steipete.clawdbot.gateway",
|
||||
];
|
||||
export const LEGACY_GATEWAY_SYSTEMD_SERVICE_NAMES: string[] = [];
|
||||
export const LEGACY_GATEWAY_WINDOWS_TASK_NAMES: string[] = [];
|
||||
|
||||
@@ -30,7 +33,15 @@ export function resolveGatewayLaunchAgentLabel(profile?: string): string {
|
||||
if (!normalized) {
|
||||
return GATEWAY_LAUNCH_AGENT_LABEL;
|
||||
}
|
||||
return `com.clawdbot.${normalized}`;
|
||||
return `bot.molt.${normalized}`;
|
||||
}
|
||||
|
||||
export function resolveLegacyGatewayLaunchAgentLabels(profile?: string): string[] {
|
||||
const normalized = normalizeGatewayProfile(profile);
|
||||
if (!normalized) {
|
||||
return [...LEGACY_GATEWAY_LAUNCH_AGENT_LABELS];
|
||||
}
|
||||
return [...LEGACY_GATEWAY_LAUNCH_AGENT_LABELS, `com.clawdbot.${normalized}`];
|
||||
}
|
||||
|
||||
export function resolveGatewaySystemdServiceName(profile?: string): string {
|
||||
|
||||
Reference in New Issue
Block a user