mirror of https://github.com/openclaw/openclaw.git
fix(macos): set release bundle ID so Sparkle auto-update works
The distribution script (package-mac-dist.sh) wasn't setting BUNDLE_ID, so it inherited the default 'ai.openclaw.mac.debug' from package-mac-app.sh. The .debug suffix triggers a condition that blanks SUFeedURL, breaking auto-updates. Users see: Update Error! Appcast feed () after trimming it of quotes is empty for OpenClaw! Fix: export BUNDLE_ID=ai.openclaw.mac for distribution builds. Fixes #19748
This commit is contained in:
parent
ab256b8ec7
commit
d87aa82052
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue