desktop: Add CFBundleDocumentTypes info to Info.plist
The CFBundleDocumentTypes information has been added to the Info.plist on macOS. This part of the Info.plist tells the operating system which file extensions a program can open. The added information states that Ruffle can open SWF files and should be the default program to open an SWF file with. Additionally, this should cause CFBundleTypeIconFiles to be generated during the build process. This means that SWF files will have the Ruffle logo on their file icon.
This commit is contained in:
parent
24079518d9
commit
1a8ef13b4e
|
@ -26,5 +26,24 @@
|
||||||
</array>
|
</array>
|
||||||
<key>NSAccentColorName</key>
|
<key>NSAccentColorName</key>
|
||||||
<string>RuffleOrange</string>
|
<string>RuffleOrange</string>
|
||||||
|
<key>CFBundleDocumentTypes</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleTypeExtensions</key>
|
||||||
|
<array>
|
||||||
|
<string>swf</string>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleTypeName</key>
|
||||||
|
<string>Flash file</string>
|
||||||
|
<key>CFBundleTypeRole</key>
|
||||||
|
<string>Viewer</string>
|
||||||
|
<key>LSHandlerRank</key>
|
||||||
|
<string>Default</string>
|
||||||
|
<key>LSItemContentTypes</key>
|
||||||
|
<array>
|
||||||
|
<string>com.macromedia.shockwave-flash</string>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
|
Loading…
Reference in New Issue