mirror of
https://github.com/clawdbot/clawdbot.git
synced 2026-01-31 19:37:45 +01:00
build: silence mac packaging warnings
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
onlyBuiltDependencies:
|
onlyBuiltDependencies:
|
||||||
- '@whiskeysockets/baileys'
|
- '@whiskeysockets/baileys'
|
||||||
|
- authenticate-pam
|
||||||
- esbuild
|
- esbuild
|
||||||
|
- protobufjs
|
||||||
- sharp
|
- sharp
|
||||||
|
|||||||
@@ -111,6 +111,8 @@ PLIST
|
|||||||
echo "🚚 Copying binary"
|
echo "🚚 Copying binary"
|
||||||
cp "$BIN" "$APP_ROOT/Contents/MacOS/Clawdis"
|
cp "$BIN" "$APP_ROOT/Contents/MacOS/Clawdis"
|
||||||
chmod +x "$APP_ROOT/Contents/MacOS/Clawdis"
|
chmod +x "$APP_ROOT/Contents/MacOS/Clawdis"
|
||||||
|
# SwiftPM outputs ad-hoc signed binaries; strip the signature before install_name_tool to avoid warnings.
|
||||||
|
/usr/bin/codesign --remove-signature "$APP_ROOT/Contents/MacOS/Clawdis" 2>/dev/null || true
|
||||||
|
|
||||||
SPARKLE_FRAMEWORK="$BUILD_PATH/$BUILD_CONFIG/Sparkle.framework"
|
SPARKLE_FRAMEWORK="$BUILD_PATH/$BUILD_CONFIG/Sparkle.framework"
|
||||||
if [ -d "$SPARKLE_FRAMEWORK" ]; then
|
if [ -d "$SPARKLE_FRAMEWORK" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user