diff --git a/AM2RLauncher/AM2RLauncher/LauncherUpdater.cs b/AM2RLauncher/AM2RLauncher/LauncherUpdater.cs index 2b02527..6bf8c21 100644 --- a/AM2RLauncher/AM2RLauncher/LauncherUpdater.cs +++ b/AM2RLauncher/AM2RLauncher/LauncherUpdater.cs @@ -172,7 +172,7 @@ namespace AM2RLauncher File.Copy(file.FullName, CrossPlatformOperations.CURRENTPATH + "/" + file.Name, true); } // for windows, the actual application is in "AM2RLauncher.dll". Which means, we need to update the lib folder as well. - if (currentPlatform.IsWinForms) + if (currentPlatform.IsWinForms && Directory.Exists(CrossPlatformOperations.CURRENTPATH + "/lib")) { // Directory.Move(CrossPlatformOperations.CURRENTPATH + "/lib", CrossPlatformOperations.CURRENTPATH + "/oldLib"); // So, because Windows behavior is dumb...