mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-24 10:08:00 -06:00
This commit is contained in:
@@ -59,6 +59,8 @@
|
||||
<string>Editor</string>
|
||||
<key>LSHandlerRank</key>
|
||||
<string>Alternate</string>
|
||||
<key>CFBundleTypeIconFile</key>
|
||||
<string>PdfCraft</string>
|
||||
<key>LSItemContentTypes</key>
|
||||
<array><string>com.adobe.pdf</string></array>
|
||||
<key>CFBundleTypeExtensions</key>
|
||||
|
||||
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user