mirror of
https://github.com/flibitijibibo/RogueLegacy1.git
synced 2025-12-06 02:30:51 -08:00
SDL3 GetPlatform renames Mac OS X to macOS
This commit is contained in:
parent
0f297a285b
commit
c8ddb68034
1 changed files with 1 additions and 1 deletions
|
|
@ -149,7 +149,7 @@ namespace RogueCastle
|
||||||
}
|
}
|
||||||
return Path.Combine(osDir, "RogueLegacy");
|
return Path.Combine(osDir, "RogueLegacy");
|
||||||
}
|
}
|
||||||
else if (os.Equals("Mac OS X"))
|
else if (os.Equals("macOS"))
|
||||||
{
|
{
|
||||||
string osDir = Environment.GetEnvironmentVariable("HOME");
|
string osDir = Environment.GetEnvironmentVariable("HOME");
|
||||||
if (string.IsNullOrEmpty(osDir))
|
if (string.IsNullOrEmpty(osDir))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue