Files
deckcraft/packaging/macos/Info.plist.in
Lexx143andClaude Fable 5.1 9632162029 macOS: offer .potx and .ppsx too, keep the desktops' file types equal, log the change
Windows (deckcraft.wxs) and Linux (the desktop file) already offer DeckCraft for .deckcraft,
.pptx, .potx and .ppsx; the macOS Info.plist now declares the same four, so a template or a
slide show opens from Finder as well. A test in apps/deckcraft reads the three packaging files
and fails when they drift apart, and checks every document type names its content type (Finder's
"Change All" needs it). Progress log row for #138 and #347.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-17 12:17:45 +05:00

201 lines
6.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!-- Template: packaging/macos/package.sh substitutes @VERSION@ (full, e.g. 0.2.0-rc.1),
@SHORT_VERSION@ (numeric X.Y.Z) and @BUILD_SHA@. -->
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>DeckCraft</string>
<key>CFBundleName</key>
<string>DeckCraft</string>
<key>CFBundleExecutable</key>
<string>DeckCraft</string>
<key>CFBundleIdentifier</key>
<string>ai.storyteller.deckcraft</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>@SHORT_VERSION@</string>
<key>CFBundleVersion</key>
<string>@SHORT_VERSION@</string>
<key>DeckCraftVersion</key>
<string>@VERSION@</string>
<key>DeckCraftBuildCommit</key>
<string>@BUILD_SHA@</string>
<key>CFBundleIconFile</key>
<string>DeckCraft</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.productivity</string>
<!-- Must match MACOSX_DEPLOYMENT_TARGET in package.sh. Big Sur is the first release on
Apple silicon and has the Metal feature set wgpu targets. -->
<key>LSMinimumSystemVersion</key>
<string>11.0</string>
<key>NSHighResolutionCapable</key>
<true/>
<key>NSSupportsAutomaticGraphicsSwitching</key>
<true/>
<key>NSRequiresAquaSystemAppearance</key>
<false/>
<key>NSHumanReadableCopyright</key>
<string>Copyright © the DeckCraft authors. MIT OR Apache-2.0.</string>
<!-- The documents DeckCraft opens, so Finder's Open With and "Change All" can offer it (the
Apple events arrive through apps/deckcraft/src/apple_events.rs). PowerPoint stays the
preferred app for its formats unless the user picks DeckCraft. The same set as the Windows
installer (deckcraft.wxs) and the Linux desktop file; a test in apps/deckcraft keeps
them equal. -->
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeName</key>
<string>DeckCraft Presentation</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSHandlerRank</key>
<string>Owner</string>
<key>CFBundleTypeIconFile</key>
<string>DeckCraft</string>
<key>LSItemContentTypes</key>
<array>
<string>ai.storyteller.deckcraft.presentation</string>
</array>
</dict>
<dict>
<key>CFBundleTypeName</key>
<string>PowerPoint Presentation</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSHandlerRank</key>
<string>Alternate</string>
<key>LSItemContentTypes</key>
<array>
<string>org.openxmlformats.presentationml.presentation</string>
</array>
<key>CFBundleTypeExtensions</key>
<array><string>pptx</string></array>
<key>CFBundleTypeMIMETypes</key>
<array><string>application/vnd.openxmlformats-officedocument.presentationml.presentation</string></array>
</dict>
<dict>
<key>CFBundleTypeName</key>
<string>PowerPoint Template</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSHandlerRank</key>
<string>Alternate</string>
<key>LSItemContentTypes</key>
<array>
<string>org.openxmlformats.presentationml.template</string>
</array>
<key>CFBundleTypeExtensions</key>
<array><string>potx</string></array>
<key>CFBundleTypeMIMETypes</key>
<array><string>application/vnd.openxmlformats-officedocument.presentationml.template</string></array>
</dict>
<dict>
<key>CFBundleTypeName</key>
<string>PowerPoint Slide Show</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSHandlerRank</key>
<string>Alternate</string>
<key>LSItemContentTypes</key>
<array>
<string>org.openxmlformats.presentationml.slideshow</string>
</array>
<key>CFBundleTypeExtensions</key>
<array><string>ppsx</string></array>
<key>CFBundleTypeMIMETypes</key>
<array><string>application/vnd.openxmlformats-officedocument.presentationml.slideshow</string></array>
</dict>
</array>
<!-- DeckCraft's own format: a zip of a JSON manifest plus media. -->
<key>UTExportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeIdentifier</key>
<string>ai.storyteller.deckcraft.presentation</string>
<key>UTTypeDescription</key>
<string>DeckCraft Presentation</string>
<key>UTTypeConformsTo</key>
<array>
<string>public.data</string>
<string>public.presentation</string>
</array>
<key>UTTypeIconFile</key>
<string>DeckCraft</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array><string>deckcraft</string></array>
<key>public.mime-type</key>
<array><string>application/x-deckcraft</string></array>
</dict>
</dict>
</array>
<!-- Open XML presentations; the system's own declaration wins when it has one. -->
<key>UTImportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeIdentifier</key>
<string>org.openxmlformats.presentationml.presentation</string>
<key>UTTypeDescription</key>
<string>Open XML Presentation</string>
<key>UTTypeConformsTo</key>
<array>
<string>public.data</string>
<string>public.presentation</string>
<string>public.zip-archive</string>
</array>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array><string>pptx</string></array>
</dict>
</dict>
<dict>
<key>UTTypeIdentifier</key>
<string>org.openxmlformats.presentationml.template</string>
<key>UTTypeDescription</key>
<string>Open XML Presentation Template</string>
<key>UTTypeConformsTo</key>
<array>
<string>public.data</string>
<string>public.presentation</string>
<string>public.zip-archive</string>
</array>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array><string>potx</string></array>
</dict>
</dict>
<dict>
<key>UTTypeIdentifier</key>
<string>org.openxmlformats.presentationml.slideshow</string>
<key>UTTypeDescription</key>
<string>Open XML Slide Show</string>
<key>UTTypeConformsTo</key>
<array>
<string>public.data</string>
<string>public.presentation</string>
<string>public.zip-archive</string>
</array>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array><string>ppsx</string></array>
</dict>
</dict>
</array>
</dict>
</plist>