feat(macos): declare document icon file for PDFs in Info.plist (#910) (#933)

This commit is contained in:
Luis Araya
2026-10-11 12:32:29 -04:00
committed by GitHub
parent 77241397d6
commit f22b5d424b
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -295,6 +295,7 @@ mod tests {
assert!(pdf.contains("<string>com.adobe.pdf</string>"), "claim PDFs by UTI, not just extension/MIME");
assert!(pdf.contains("<string>Editor</string>"), "PDF role stays Editor");
assert!(pdf.contains("<string>Alternate</string>"), "rank stays Alternate: offered without taking over Preview");
assert!(pdf.contains("<key>CFBundleTypeIconFile</key>"), "declares document icon file for Finder");
}
// The bundle id must match the app id the binary uses; renames change both (#174).