diff --git a/Fika.Core/UI/Patches/MenuTaskBar_Patch.cs b/Fika.Core/UI/Patches/MenuTaskBar_Patch.cs index 0405c5a4..1a04ced3 100644 --- a/Fika.Core/UI/Patches/MenuTaskBar_Patch.cs +++ b/Fika.Core/UI/Patches/MenuTaskBar_Patch.cs @@ -68,7 +68,7 @@ public static void Postfix(MenuTaskBar __instance) { Singleton.Instance.PlayUISound(EUISoundType.ButtonBottomBarClick); string installDir = Environment.CurrentDirectory; - string fikaDir = installDir + @"/user/fika"; + string fikaDir = installDir + @"\user\fika"; if (!string.IsNullOrEmpty(installDir)) { @@ -79,12 +79,12 @@ public static void Postfix(MenuTaskBar __instance) string profileId = Singleton>.Instance.Session.Profile.ProfileId; - if (File.Exists(@$"{fikaDir}/{profileId}.json")) + if (File.Exists(@$"{fikaDir}\{profileId}.json")) { - File.Copy(@$"{fikaDir}/{profileId}.json", @$"{fikaDir}/{profileId}.json.BAK", true); + File.Copy(@$"{fikaDir}\{profileId}.json", @$"{fikaDir}\{profileId}.json.BAK", true); } - File.WriteAllText(@$"{fikaDir}/{profileId}.json", profile.ToString()); + File.WriteAllText(@$"{fikaDir}\{profileId}.json", profile.ToString()); NotificationManagerClass.DisplayMessageNotification($"Saved profile '{profileId}' to {fikaDir}"); GameObject.Destroy(downloadProfileGameObject);