Do the same thing for moving the extracted data to master

This commit is contained in:
KillzXGaming 2019-06-01 19:03:54 -04:00
parent bbbb35947c
commit aea66fa42d
4 changed files with 3 additions and 0 deletions

Binary file not shown.

View file

@ -79,6 +79,9 @@ namespace Updater
{
string dirName = new DirectoryInfo(dir).Name;
File.SetAttributes(dirName, FileAttributes.Normal);
File.SetAttributes(folderDir, FileAttributes.Normal);
if (Directory.Exists(Path.Combine(folderDir, dirName + @"\")))
Directory.Delete(Path.Combine(folderDir, dirName + @"\"), true);
Directory.Move(dir, Path.Combine(folderDir, dirName + @"\"));