mirror of
https://github.com/storytold/lightcraft.git
synced 2026-10-25 10:37:11 -06:00
The template was copied from a sibling app: it exported a "LightCraft Document" UTI for PhotoCraft's `.pcraft` extension (MIME `application/x-lightcraft`) and imported `.psb` (Photoshop Large Document) and `.qoi`. LightCraft reads none of them, so the declarations only made Launch Services type PhotoCraft documents as LightCraft's and left `.pcraft` with three claimant apps among the Craft suite. Remove both `UTExportedTypeDeclarations` and `UTImportedTypeDeclarations`. No CFBundleDocumentTypes is added: the formats LightCraft opens are already declared by the system or another app, so adding them is out of scope here. `packaging/check-app-specific.sh` now parses the template as a property list and fails if it declares any of those types again, while still checking the required bundle keys. Co-Authored-By: DeepSeek V4.1 Flash <noreply@deepseek.com>
60 lines
2.4 KiB
XML
60 lines
2.4 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>LightCraft</string>
|
|
<key>CFBundleName</key>
|
|
<string>LightCraft</string>
|
|
<key>CFBundleExecutable</key>
|
|
<string>LightCraft</string>
|
|
<key>CFBundleIdentifier</key>
|
|
<string>ai.storyteller.lightcraft</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>LightCraftVersion</key>
|
|
<string>@VERSION@</string>
|
|
<key>LightCraftBuildCommit</key>
|
|
<string>@BUILD_SHA@</string>
|
|
<key>CFBundleIconFile</key>
|
|
<string>LightCraft</string>
|
|
<key>LSApplicationCategoryType</key>
|
|
<string>public.app-category.graphics-design</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/>
|
|
<!-- Shown by macOS when LightCraft first asks to control Photos (Export > Add to Apple Photos;
|
|
needs the apple-events entitlement in entitlements.plist). -->
|
|
<key>NSAppleEventsUsageDescription</key>
|
|
<string>LightCraft asks Photos to import the photos you export when you choose Add to Apple Photos in the Export dialog.</string>
|
|
<key>NSHumanReadableCopyright</key>
|
|
<string>Copyright © the LightCraft authors. MIT OR Apache-2.0.</string>
|
|
|
|
<!-- No UTI declarations: LightCraft has no document type of its own, and the formats it opens
|
|
(JPEG, PNG, TIFF, HEIC, the raw formats) are declared by the system or by another app.
|
|
Declaring PhotoCraft's `.pcraft` type here (and importing PSB and QOI) made Launch Services
|
|
type PhotoCraft documents as LightCraft's; `.pcraft` ended up with three claimant apps
|
|
(issue #1951). -->
|
|
|
|
</dict>
|
|
</plist>
|