Skip to content

FilmCraft: An open-source, nonlinear video editor written by scratch in pure Rust

Register .fcproj as a document the macOS app can open from Finder.

Vikram Bhaskaranb5e05a6501b7
diff --git a/packaging/macos/Info.plist.in b/packaging/macos/Info.plist.in
index e9d9dc3bc..115be3644 100644
--- a/packaging/macos/Info.plist.in
+++ b/packaging/macos/Info.plist.in
@@ -49,6 +49,24 @@
<key>NSHumanReadableCopyright</key>
<string>Copyright © the FilmCraft authors. MIT OR Apache-2.0.</string>
+ <!-- Finder opens a project by this claim. The exported type alone is not enough:
+ without it Launch Services reports that FilmCraft cannot open a FilmCraft Project (#1229). -->
+ <key>CFBundleDocumentTypes</key>
+ <array>
+ <dict>
+ <key>CFBundleTypeName</key>
+ <string>FilmCraft Project</string>
+ <key>CFBundleTypeRole</key>
+ <string>Editor</string>
+ <key>LSHandlerRank</key>
+ <string>Owner</string>
+ <key>LSItemContentTypes</key>
+ <array>
+ <string>ai.storyteller.filmcraft.project</string>
+ </array>
+ </dict>
+ </array>
+
<!-- Filmcraft's own format. -->
<key>UTExportedTypeDeclarations</key>
<array>