Skip to content

Commit

Permalink
SDL3 GetPlatform renames Mac OS X to macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
flibitijibibo committed Oct 15, 2024
1 parent 0f297a2 commit c8ddb68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RogueCastle/src/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ private static string GetOSDir()
}
return Path.Combine(osDir, "RogueLegacy");
}
else if (os.Equals("Mac OS X"))
else if (os.Equals("macOS"))
{
string osDir = Environment.GetEnvironmentVariable("HOME");
if (string.IsNullOrEmpty(osDir))
Expand Down

0 comments on commit c8ddb68

Please sign in to comment.