mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Thanks to i.atent.dead@gmail.com, this adds:
"I've written out a couple of type declarations for .cfg/.config and .pk3 files, which allows OS X to recognise what they are (handy for eg. QuickLook)."
This commit is contained in:
parent
5b4dc4c743
commit
1441e0362c
1 changed files with 42 additions and 0 deletions
|
@ -226,6 +226,48 @@ echo "
|
|||
<key>NSPrincipalClass</key>
|
||||
<string>NSApplication</string>
|
||||
</dict>
|
||||
<key>UTExportedTypeDeclarations</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>UTTypeConformsTo</key>
|
||||
<array>
|
||||
<string>public.text</string>
|
||||
<string>public.plain-text</string>
|
||||
</array>
|
||||
<key>UTTypeDescription</key>
|
||||
<string>Configuration file</string>
|
||||
<key>UTTypeIdentifier</key>
|
||||
<string>com.idsoftware.cfg</string>
|
||||
<key>UTTypeTagSpecification</key>
|
||||
<dict>
|
||||
<key>com.apple.ostype</key>
|
||||
<string>TEXT</string>
|
||||
<key>public.filename-extension</key>
|
||||
<array>
|
||||
<string>cfg</string>
|
||||
<string>config</string>
|
||||
</array>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>UTTypeConformsTo</key>
|
||||
<array>
|
||||
<string>public.zip-archive</string>
|
||||
<string>com.pkware.zip-archive</string>
|
||||
</array>
|
||||
<key>UTTypeDescription</key>
|
||||
<string>Pak archive</string>
|
||||
<key>UTTypeIdentifier</key>
|
||||
<string>com.idsoftware.pk3</string>
|
||||
<key>UTTypeTagSpecification</key>
|
||||
<dict>
|
||||
<key>public.filename-extension</key>
|
||||
<array>
|
||||
<string>pk3</string>
|
||||
</array>
|
||||
</dict>
|
||||
</dict>
|
||||
</array>
|
||||
</plist>
|
||||
" > $DESTDIR/$APPBUNDLE/Contents/Info.plist
|
||||
|
||||
|
|
Loading…
Reference in a new issue