From c1936305b7f1f02110d4484a4d13abe854694a8b Mon Sep 17 00:00:00 2001 From: Miepee <38186597+Miepee@users.noreply.github.com> Date: Mon, 23 May 2022 20:14:39 +0200 Subject: [PATCH] fix wrong linux folder + trypo --- AM2RLauncher/AM2RLauncher/LauncherUpdater.cs | 2 +- AM2RLauncher/AM2RLauncherLib/CrossPlatformOperations.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AM2RLauncher/AM2RLauncher/LauncherUpdater.cs b/AM2RLauncher/AM2RLauncher/LauncherUpdater.cs index 22d6281..99a4095 100644 --- a/AM2RLauncher/AM2RLauncher/LauncherUpdater.cs +++ b/AM2RLauncher/AM2RLauncher/LauncherUpdater.cs @@ -136,7 +136,7 @@ public static class LauncherUpdater // hardcoded string, since also temporarily until it gets supported one day. if (OS.IsMac) { - MessageBox.Show("Your current version is outdated! The newest version is " + onlineVersion + "." + + MessageBox.Show("Your current version is outdated! The newest version is " + onlineVersion + ". " + "Please recompile AM2RLauncher again or disable auto-updating"); return; } diff --git a/AM2RLauncher/AM2RLauncherLib/CrossPlatformOperations.cs b/AM2RLauncher/AM2RLauncherLib/CrossPlatformOperations.cs index 236d670..bccf2c5 100644 --- a/AM2RLauncher/AM2RLauncherLib/CrossPlatformOperations.cs +++ b/AM2RLauncher/AM2RLauncherLib/CrossPlatformOperations.cs @@ -375,7 +375,7 @@ public static class CrossPlatformOperations { // Linux has the Path at XDG_DATA_HOME/AM2RLauncher - string linuxPath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}/AM2RLauncher"; + string linuxPath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData, Environment.SpecialFolderOption.DoNotVerify)}/AM2RLauncher"; try {