From db4c6937b0941344457be45a222c354063042f37 Mon Sep 17 00:00:00 2001 From: Miepee <38186597+Miepee@users.noreply.github.com> Date: Tue, 17 Aug 2021 11:22:57 +0200 Subject: [PATCH] Revert "Another auto updating issue fix" This reverts commit 7923c7e658690e258f933d66360cddd09684a5a6. --- AM2RLauncher/AM2RLauncher/LauncherUpdater.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/AM2RLauncher/AM2RLauncher/LauncherUpdater.cs b/AM2RLauncher/AM2RLauncher/LauncherUpdater.cs index 06be7eb..164ea89 100644 --- a/AM2RLauncher/AM2RLauncher/LauncherUpdater.cs +++ b/AM2RLauncher/AM2RLauncher/LauncherUpdater.cs @@ -20,7 +20,7 @@ namespace AM2RLauncher public class LauncherUpdater { /// The Version that identifies this current release. - static readonly public string VERSION = "2.1.0"; + static readonly public string VERSION = "2.1.1"; /// The current Running platform. static readonly private Platform currentPlatform = Platform.Instance; //needs to be declared here as well, because I can't access the one from eto @@ -136,10 +136,7 @@ namespace AM2RLauncher return; } - if (Directory.Exists(tmpUpdatePath)) //auto-updating issue fixes - Directory.Delete(tmpUpdatePath); - - if (!Directory.Exists(tmpUpdatePath)) // just in case it exists already + if(!Directory.Exists(tmpUpdatePath)) // just in case it exists already Directory.CreateDirectory(tmpUpdatePath); ZipFile.ExtractToDirectory(zipPath, tmpUpdatePath);