Merge pull request #3686 from pchote/portable-install

Support support dir inside the game root for portable installs.
This commit is contained in:
Matthias Mailänder
2013-08-17 02:45:49 -07:00

View File

@@ -49,6 +49,10 @@ namespace OpenRA
{
get
{
// Use a local directory in the game root if it exists
if (Directory.Exists("Support"))
return "Support" + Path.DirectorySeparatorChar;
var dir = Environment.GetFolderPath(Environment.SpecialFolder.Personal);
switch (CurrentPlatform)