Add Mac support
This commit is contained in:
parent
7578d5980a
commit
00193f075d
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user