diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 3518716ae..2e08fbb6b 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,4 +1,6 @@ onlyBuiltDependencies: - '@whiskeysockets/baileys' + - authenticate-pam - esbuild + - protobufjs - sharp diff --git a/scripts/package-mac-app.sh b/scripts/package-mac-app.sh index 6088d6775..2afd2e3e2 100755 --- a/scripts/package-mac-app.sh +++ b/scripts/package-mac-app.sh @@ -111,6 +111,8 @@ PLIST echo "🚚 Copying binary" cp "$BIN" "$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" if [ -d "$SPARKLE_FRAMEWORK" ]; then