Skip to content

Commit db4c693

Browse files
committed
Revert "Another auto updating issue fix"
This reverts commit 7923c7e.
1 parent 7923c7e commit db4c693

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

AM2RLauncher/AM2RLauncher/LauncherUpdater.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ namespace AM2RLauncher
2020
public class LauncherUpdater
2121
{
2222
/// <summary>The Version that identifies this current release.</summary>
23-
static readonly public string VERSION = "2.1.0";
23+
static readonly public string VERSION = "2.1.1";
2424

2525
/// <summary>The current Running platform.</summary>
2626
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 @@ public static void Main()
136136
return;
137137
}
138138

139-
if (Directory.Exists(tmpUpdatePath)) //auto-updating issue fixes
140-
Directory.Delete(tmpUpdatePath);
141-
142-
if (!Directory.Exists(tmpUpdatePath)) // just in case it exists already
139+
if(!Directory.Exists(tmpUpdatePath)) // just in case it exists already
143140
Directory.CreateDirectory(tmpUpdatePath);
144141

145142
ZipFile.ExtractToDirectory(zipPath, tmpUpdatePath);

0 commit comments

Comments
 (0)