Remove the need for a trailing separator

This commit is contained in:
Paul Chote
2010-07-08 12:31:04 +12:00
parent fdc85b6e48
commit 513769f131
2 changed files with 2 additions and 2 deletions

View File

@@ -652,7 +652,7 @@ namespace OpenRA
return Environment.CurrentDirectory + Path.DirectorySeparatorChar + "Support" + Path.DirectorySeparatorChar;
// Custom paths are relative to the home directory (My Documents under windows)
return Environment.GetFolderPath(Environment.SpecialFolder.Personal) + Path.DirectorySeparatorChar + Settings.SupportDir;
return Environment.GetFolderPath(Environment.SpecialFolder.Personal) + Path.DirectorySeparatorChar + Settings.SupportDir + Path.DirectorySeparatorChar;
}
}

View File

@@ -86,7 +86,7 @@ fi
# Run the game
cd "${GAME_PATH}"
${EXE_PATH}mono "OpenRA.Game.exe" InitialMods=$MOD SupportDir=Library/"Application Support"/OpenRA/
${EXE_PATH}mono "OpenRA.Game.exe" InitialMods=$MOD SupportDir=Library/"Application Support"/OpenRA
# Did we crash?
STATUS=$?