Remove the need for a trailing separator
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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=$?
|
||||
|
||||
Reference in New Issue
Block a user