mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 10:07:41 +00:00
Onboarding: keep TUI flow exclusive
This commit is contained in:
@@ -455,7 +455,7 @@ export async function runOnboardingWizard(
|
||||
nextConfig = applyWizardMetadata(nextConfig, { command: "onboard", mode });
|
||||
await writeConfigFile(nextConfig);
|
||||
|
||||
await finalizeOnboardingWizard({
|
||||
const { launchedTui } = await finalizeOnboardingWizard({
|
||||
flow,
|
||||
opts,
|
||||
baseConfig,
|
||||
@@ -465,6 +465,9 @@ export async function runOnboardingWizard(
|
||||
prompter,
|
||||
runtime,
|
||||
});
|
||||
if (launchedTui) {
|
||||
return;
|
||||
}
|
||||
|
||||
const installShell = await prompter.confirm({
|
||||
message: "Install shell completion script?",
|
||||
|
||||
Reference in New Issue
Block a user