refactor: rename to openclaw
This commit is contained in:
1 parent
4583f88626
commit
9a7160786a
2357 files changed
+16688
-16788
No files matched your search
@@ -64,25 +64,25 @@ export function extractGatewayMiskeys(parsed: unknown): {
|
||||
}
|
||||
|
||||
export function renderGatewayServiceStopHints(env: NodeJS.ProcessEnv = process.env): string[] {
|
||||
const profile = env.CLAWDBOT_PROFILE;
|
||||
const profile = env.OPENCLAW_PROFILE;
|
||||
switch (process.platform) {
|
||||
case "darwin":
|
||||
return [
|
||||
`Tip: ${formatCliCommand("moltbot gateway stop")}`,
|
||||
`Tip: ${formatCliCommand("openclaw gateway stop")}`,
|
||||
`Or: launchctl bootout gui/$UID/${resolveGatewayLaunchAgentLabel(profile)}`,
|
||||
];
|
||||
case "linux":
|
||||
return [
|
||||
`Tip: ${formatCliCommand("moltbot gateway stop")}`,
|
||||
`Tip: ${formatCliCommand("openclaw gateway stop")}`,
|
||||
`Or: systemctl --user stop ${resolveGatewaySystemdServiceName(profile)}.service`,
|
||||
];
|
||||
case "win32":
|
||||
return [
|
||||
`Tip: ${formatCliCommand("moltbot gateway stop")}`,
|
||||
`Tip: ${formatCliCommand("openclaw gateway stop")}`,
|
||||
`Or: schtasks /End /TN "${resolveGatewayWindowsTaskName(profile)}"`,
|
||||
];
|
||||
default:
|
||||
return [`Tip: ${formatCliCommand("moltbot gateway stop")}`];
|
||||
return [`Tip: ${formatCliCommand("openclaw gateway stop")}`];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user