aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmake-macosx-ub.sh42
1 files changed, 42 insertions, 0 deletions
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 "
<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