From 128ce8a882ef213fcfe63dcb3106a16ef9fd39b1 Mon Sep 17 00:00:00 2001 From: zakk Date: Wed, 20 Aug 2008 19:00:22 +0000 Subject: 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)." git-svn-id: svn://svn.icculus.org/quake3/trunk@1451 edf5b092-35ff-0310-97b2-ce42778d08ea --- make-macosx-ub.sh | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) (limited to 'make-macosx-ub.sh') diff --git a/make-macosx-ub.sh b/make-macosx-ub.sh index 935d0cc..2a962dc 100755 --- a/make-macosx-ub.sh +++ b/make-macosx-ub.sh @@ -226,6 +226,48 @@ echo " NSPrincipalClass NSApplication + UTExportedTypeDeclarations + + + UTTypeConformsTo + + public.text + public.plain-text + + UTTypeDescription + Configuration file + UTTypeIdentifier + com.idsoftware.cfg + UTTypeTagSpecification + + com.apple.ostype + TEXT + public.filename-extension + + cfg + config + + + + + UTTypeConformsTo + + public.zip-archive + com.pkware.zip-archive + + UTTypeDescription + Pak archive + UTTypeIdentifier + com.idsoftware.pk3 + UTTypeTagSpecification + + public.filename-extension + + pk3 + + + + " > $DESTDIR/$APPBUNDLE/Contents/Info.plist -- cgit v1.2.3