Skip to content

Commit 07dff2d

Browse files
committed
Fix install script to start app in bg
1 parent 74a746f commit 07dff2d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

scripts/install.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,8 @@ install_macos() {
360360
mkdir -p "$HOME/.local/bin"
361361
local macos_bin="$MACOS_APP_DIR/$app_name/Contents/MacOS"
362362

363-
"$macos_bin/kiro_cli_desktop" --no-dashboard > /dev/null 2>&1 &
363+
open -g -a "$MACOS_APP_DIR/$app_name" --args --no-dashboard
364+
sleep 3
364365
}
365366

366367
# Install on Linux
@@ -421,8 +422,6 @@ cleanup() {
421422
# =============================================================================
422423

423424
main() {
424-
log "Installing $CLI_NAME..."
425-
426425
# Parse command line arguments
427426
parse_args "$@"
428427

@@ -453,6 +452,8 @@ main() {
453452
download_and_verify "$download_url" "$filename"
454453
local downloaded_file="$DOWNLOAD_DIR/$filename"
455454

455+
log "Installing $CLI_NAME..."
456+
456457
# Install based on platform
457458
if [[ "$os" == "darwin" ]]; then
458459
install_macos "$downloaded_file"

0 commit comments

Comments
 (0)