ref: cf9c03648c9cb62f46c21c4036440086887ffa67
parent: 21668aca6379e2eaf65a40831f88cb6be9e0513d
parent: c9d46e0c7c0a3390f862b1ddd69ac9b7e846e5dd
author: Simon Howard <fraggle+github@gmail.com>
date: Thu Mar 10 12:47:32 EST 2016
Merge pull request #679 from jmtd/osx-launcher-lmp osx: Add support for .lmp file formats to Mac Launcher
--- a/pkg/osx/AppController.m
+++ b/pkg/osx/AppController.m
@@ -101,6 +101,11 @@
[self->launcherManager addFileToCommandLine: fileName
forArgument: @"-merge"];
}
+ else if (![extension caseInsensitiveCompare: @"lmp"])
+ {
+ [self->launcherManager addFileToCommandLine: fileName
+ forArgument: @"-playdemo"];
+ }
else if (![extension caseInsensitiveCompare: @"deh"])
{
[self->launcherManager addFileToCommandLine: fileName
--- a/pkg/osx/Info.plist.in
+++ b/pkg/osx/Info.plist.in
@@ -51,6 +51,18 @@
</dict>
<dict>
<key>CFBundleTypeName</key>
+ <string>Doom demo recording</string>
+ <key>CFBundleTypeIconFile</key>
+ <string>wadfile.icns</string>
+ <key>CFBundleTypeRole</key>
+ <string>Viewer</string>
+ <key>CFBundleTypeExtensions</key>
+ <array>
+ <string>lmp</string>
+ </array>
+ </dict>
+ <dict>
+ <key>CFBundleTypeName</key>
<string>Doom Dehacked patch</string>
<key>CFBundleTypeIconFile</key>
<string>wadfile.icns</string>