mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-10 07:04:36 +00:00
Do the same thing for moving the extracted data to master
This commit is contained in:
parent
bbbb35947c
commit
aea66fa42d
4 changed files with 3 additions and 0 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -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 + @"\"));
|
||||
|
|
Loading…
Reference in a new issue