Skip to content

Commit

Permalink
Thanks to i.atent.dead@gmail.com, this adds:
Browse files Browse the repository at this point in the history
"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)."
  • Loading branch information
NuclearMonster committed Aug 20, 2008
1 parent 5b4dc4c commit 1441e03
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions make-macosx-ub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1441e03

Please sign in to comment.