mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2025-02-16 22:08:26 +00:00
Remove zip after extracted for updater
This commit is contained in:
parent
ce7a1736a2
commit
adae13380f
3 changed files with 3 additions and 0 deletions
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…
Add table
Reference in a new issue