From 5e245ed38d36b479f1213b1f3ee01b8d720b3b00 Mon Sep 17 00:00:00 2001 From: Miepee <38186597+Miepee@users.noreply.github.com> Date: Sun, 18 Apr 2021 18:18:35 +0200 Subject: [PATCH] made another fix for custom save locations --- ModPacker.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ModPacker.cs b/ModPacker.cs index 80b1b79..fd19f75 100644 --- a/ModPacker.cs +++ b/ModPacker.cs @@ -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