Add Mac support

This commit is contained in:
Garrison Taylor 2015-07-03 01:53:16 -04:00
parent 7578d5980a
commit 00193f075d

View File

@ -34,7 +34,11 @@ namespace TrueCraft.Client
var fileInfo = new FileInfo("MonoGame.Framework.Windows.dll");
return Assembly.LoadFile(fileInfo.FullName);
}
// TODO: OSX support
if (RuntimeInfo.IsMacOSX)
{
var fileInfo = new FileInfo("MonoGame.Framework.MacOS.dll");
return Assembly.LoadFile(fileInfo.FullName);
}
return null;
}