build: silence mac packaging warnings
parent
de2fd659ab
commit
382d237a60
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue