fix wrong linux folder + trypo

pull/32/head
Miepee 4 years ago
parent a75662b073
commit c1936305b7

@ -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;
}

@ -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
{

Loading…
Cancel
Save