Another auto updating issue fix

pull/21/head
Miepee 5 years ago
parent 54ee9c0042
commit 7923c7e658

@ -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.1";
static readonly public string VERSION = "2.1.0";
/// <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
@ -136,6 +136,9 @@ namespace AM2RLauncher
return;
}
if (Directory.Exists(tmpUpdatePath)) //auto-updating issue fixes
Directory.Delete(tmpUpdatePath);
if (!Directory.Exists(tmpUpdatePath)) // just in case it exists already
Directory.CreateDirectory(tmpUpdatePath);

Loading…
Cancel
Save