made another fix for custom save locations

pull/6/head
Miepee 5 years ago
parent b1f4e9c83a
commit 5e245ed38d

@ -450,7 +450,8 @@ namespace AM2R_ModPacker
else
{
wasSuccessfull = true;
saveFilePath = dialog.FileName.Replace(match.Value, "%localappdata%");
saveFilePath = dialog.FileName.Replace(match.Value, "%localappdata%/");
saveFilePath = saveFilePath.Replace("\", "/"); // if we don't do this, custom save locations are going to fail on Linux
}
}
else

Loading…
Cancel
Save