fix: resolve ambiguous bundle format error in yt-dlp codesign

This commit is contained in:
nimbold
2026-06-09 09:19:55 +03:30
parent a2be2012f8
commit 17aa34b95f
2 changed files with 5 additions and 4 deletions
-4
View File
@@ -197,10 +197,6 @@ if command -v codesign &> /dev/null; then
sign_mach_o_file "$executable_path"
done < <(find "$RESOURCES_DIR" -type f -print0)
while IFS= read -r -d '' bundle_path; do
sign_path "$bundle_path"
done < <(find "$RESOURCES_DIR" \( -name "*.xpc" -o -name "*.framework" \) -type d -depth -print0)
sign_path "$MACOS_DIR/$APP_NAME"
sign_path "$APP_DIR"
codesign --verify --deep --verbose=2 "$APP_DIR" || true