mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-22 12:33:12 +00:00
Try to fix updater issues
This commit is contained in:
parent
a21eead9da
commit
92d597f7f4
3 changed files with 3 additions and 0 deletions
Binary file not shown.
Binary file not shown.
|
@ -78,7 +78,10 @@ namespace Updater
|
|||
continue;
|
||||
|
||||
if (File.Exists(Path.Combine(folderDir, Path.GetFileName(file))))
|
||||
{
|
||||
File.SetAttributes(file, FileAttributes.Normal);
|
||||
File.Delete(Path.Combine(folderDir, Path.GetFileName(file)));
|
||||
}
|
||||
File.Move(file, Path.Combine(folderDir, Path.GetFileName(file)));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue