Merge pull request #679 from jmtd/osx-launcher-lmp

osx: Add support for .lmp file formats to Mac Launcher
This commit is contained in:
Simon Howard 2016-03-10 17:47:32 -05:00
commit cf9c03648c
2 changed files with 17 additions and 0 deletions

View file

@ -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

View file

@ -49,6 +49,18 @@ Licensed under the GNU GPL v2.</string>
<string>wad</string>
</array>
</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>