Skip to content

Commit

Permalink
Revert "Another auto updating issue fix"
Browse files Browse the repository at this point in the history
This reverts commit 7923c7e.
  • Loading branch information
Miepee committed Aug 17, 2021
1 parent 7923c7e commit db4c693
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions AM2RLauncher/AM2RLauncher/LauncherUpdater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace AM2RLauncher
public class LauncherUpdater
{
/// <summary>The Version that identifies this current release.</summary>
static readonly public string VERSION = "2.1.0";
static readonly public string VERSION = "2.1.1";

/// <summary>The current Running platform.</summary>
static readonly private Platform currentPlatform = Platform.Instance; //needs to be declared here as well, because I can't access the one from eto
Expand Down Expand Up @@ -136,10 +136,7 @@ public static void Main()
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);
Expand Down

0 comments on commit db4c693

Please sign in to comment.