Adapt to upcoming environment special folder change.

This commit is contained in:
Matthias Mailänder
2024-09-17 17:12:42 +02:00
committed by abcdefg30
parent 2aa37d9392
commit 327c1ba23b

View File

@@ -204,7 +204,7 @@ namespace OpenRA
default:
{
modernUserSupportPath = legacyUserSupportPath =
Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Personal), ".openra") + Path.DirectorySeparatorChar;
Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".openra") + Path.DirectorySeparatorChar;
systemSupportPath = "/var/games/openra/";
break;
}