https://github.com/libsdl-org/Maelstrom/commit/e07f3f21010eb9e916495816f8d041a099503cda
From e07f3f21010eb9e916495816f8d041a099503cda Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 3 Feb 2012 22:45:45 -0500
Subject: [PATCH] Re-added bundled document types for dragging and dropping
replays
---
Xcode/Maelstrom-Info.plist | 45 +++++++++++++++++++++++++++++++++-----
1 file changed, 39 insertions(+), 6 deletions(-)
diff --git a/Xcode/Maelstrom-Info.plist b/Xcode/Maelstrom-Info.plist
index 3fab553f..debf8055 100644
--- a/Xcode/Maelstrom-Info.plist
+++ b/Xcode/Maelstrom-Info.plist
@@ -17,18 +17,51 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>1.0</string>
+ <string>4.0.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
- <string>1</string>
- <key>LSApplicationCategoryType</key>
- <string>public.app-category.arcade-games</string>
+ <string>4.0.0</string>
+ <key>NSPrincipalClass</key>
+ <string>NSApplication</string>
<key>LSMinimumSystemVersion</key>
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2012 Sam Lantinga. All rights reserved.</string>
- <key>NSPrincipalClass</key>
- <string>NSApplication</string>
+ <key>LSApplicationCategoryType</key>
+ <string>public.app-category.arcade-games</string>
+ <key>CFBundleDocumentTypes</key>
+ <array>
+ <dict>
+ <key>CFBundleTypeName</key>
+ <string>Maelstrom Replay</string>
+ <key>LSHandlerRank</key>
+ <string>Owner</string>
+ <key>CFBundleTypeRole</key>
+ <string>Viewer</string>
+ <key>LSItemContentTypes</key>
+ <array>
+ <string>com.galaxygameworks.Maelstrom.replay</string>
+ </array>
+ </dict>
+ </array>
+ <key>UTExportedTypeDeclarations</key>
+ <array>
+ <dict>
+ <key>UTTypeIdentifier</key>
+ <string>com.galaxygameworks.Maelstrom.replay</string>
+ <key>UTTypeDescription</key>
+ <string>Maelstrom Replay</string>
+ <key>UTTypeTagSpecification</key>
+ <dict>
+ <key>public.filename-extension</key>
+ <string>mreplay</string>
+ </dict>
+ <key>UTTypeConformsTo</key>
+ <array>
+ <string>public.data</string>
+ </array>
+ </dict>
+ </array>
</dict>
</plist>