Skip to content

Commit 6092022

Browse files
committed
feat: auto-run onboard in install scripts
1 parent fe49643 commit 6092022

File tree

2 files changed

+4
-17
lines changed

2 files changed

+4
-17
lines changed

public/install.ps1

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -145,16 +145,9 @@ function Main {
145145
Write-Host "clawdbot doctor" -ForegroundColor Cyan -NoNewline
146146
Write-Host " to check for additional migrations."
147147
} else {
148-
Write-Host "Run " -NoNewline
149-
Write-Host "clawdbot onboard" -ForegroundColor Cyan -NoNewline
150-
Write-Host " to set up your assistant."
148+
Write-Host "Starting setup..." -ForegroundColor Cyan
151149
Write-Host ""
152-
153-
# Ask to run onboard (new installs only)
154-
$response = Read-Host "Start setup now? [Y/n]"
155-
if ($response -eq "" -or $response -eq "Y" -or $response -eq "y") {
156-
clawdbot onboard
157-
}
150+
clawdbot onboard
158151
}
159152
}
160153

public/install.sh

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -301,15 +301,9 @@ main() {
301301
if [[ "$is_upgrade" == "true" ]]; then
302302
echo -e "Upgrade complete. Run ${INFO}clawdbot doctor${NC} to check for additional migrations."
303303
else
304-
echo -e "Run ${INFO}clawdbot onboard${NC} to set up your assistant."
304+
echo -e "Starting setup..."
305305
echo ""
306-
307-
# Ask to run onboard (new installs only)
308-
read -p "Start setup now? [Y/n] " -n 1 -r
309-
echo
310-
if [[ $REPLY =~ ^[Yy]$ ]] || [[ -z $REPLY ]]; then
311-
exec clawdbot onboard
312-
fi
306+
exec clawdbot onboard
313307
fi
314308

315309
echo ""

0 commit comments

Comments
 (0)