Remove zip after extracted for updater
This commit is contained in:
parent
ce7a1736a2
commit
adae13380f
Binary file not shown.
Binary file not shown.
@ -122,6 +122,9 @@ namespace Updater
|
||||
if (Directory.Exists(downloadName + "/"))
|
||||
Directory.Delete(downloadName + "/", true);
|
||||
ZipFile.ExtractToDirectory(downloadName + ".zip", downloadName + "/");
|
||||
|
||||
//Zip not needed anymore
|
||||
File.Delete(downloadName + ".zip");
|
||||
string versionTxt = Path.Combine(Path.GetFullPath(downloadName + "/"), "Version.txt");
|
||||
|
||||
using (StreamWriter writer = new StreamWriter(versionTxt))
|
||||
|
Loading…
x
Reference in New Issue
Block a user