This commit is contained in:
parent
77241397d6
commit
f22b5d424b
|
|
@ -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).
|
||||
|
|
|
|||
Loading…
Reference in New Issue