From 73a1e137e64e66386563349a5749694fddfd9786 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 6 Dec 2025 00:11:15 +0100 Subject: [PATCH] feat: trimmy-style settings tabs and CLI helper bundling --- scripts/package-mac-app.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/package-mac-app.sh b/scripts/package-mac-app.sh index a1fc82f1e..d7e50beac 100755 --- a/scripts/package-mac-app.sh +++ b/scripts/package-mac-app.sh @@ -15,6 +15,7 @@ echo "๐Ÿ”จ Building $PRODUCT (debug)" swift build -c debug --product "$PRODUCT" --build-path "$BUILD_PATH" BIN="$BUILD_PATH/debug/$PRODUCT" +CLI_BIN="$BUILD_PATH/debug/ClawdisCLI" echo "๐Ÿงน Cleaning old app bundle" rm -rf "$APP_ROOT" mkdir -p "$APP_ROOT/Contents/MacOS" @@ -46,6 +47,12 @@ echo "๐Ÿšš Copying binary" cp "$BIN" "$APP_ROOT/Contents/MacOS/Clawdis" chmod +x "$APP_ROOT/Contents/MacOS/Clawdis" +if [ -f "$CLI_BIN" ]; then + echo "๐Ÿ”ง Copying CLI helper" + cp "$CLI_BIN" "$APP_ROOT/Contents/MacOS/ClawdisCLI" + chmod +x "$APP_ROOT/Contents/MacOS/ClawdisCLI" +fi + echo "โœ… Bundle ready at $APP_ROOT" echo "๐Ÿš€ Launching app"