diff --git a/scripts/package-mac-dist.sh b/scripts/package-mac-dist.sh index 6a57aa52459..843dc9d67aa 100755 --- a/scripts/package-mac-dist.sh +++ b/scripts/package-mac-dist.sh @@ -16,6 +16,10 @@ BUILD_CONFIG="${BUILD_CONFIG:-release}" # Default to universal binary for distribution builds (supports both Apple Silicon and Intel Macs) export BUILD_ARCHS="${BUILD_ARCHS:-all}" +# Use release bundle ID (not .debug) so Sparkle auto-update works. +# The .debug suffix in package-mac-app.sh blanks SUFeedURL intentionally for dev builds. +export BUNDLE_ID="${BUNDLE_ID:-ai.openclaw.mac}" + "$ROOT_DIR/scripts/package-mac-app.sh" APP="$ROOT_DIR/dist/OpenClaw.app"