mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-26 06:20:24 +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;
|
continue;
|
||||||
|
|
||||||
if (File.Exists(Path.Combine(folderDir, Path.GetFileName(file))))
|
if (File.Exists(Path.Combine(folderDir, Path.GetFileName(file))))
|
||||||
|
{
|
||||||
|
File.SetAttributes(file, FileAttributes.Normal);
|
||||||
File.Delete(Path.Combine(folderDir, Path.GetFileName(file)));
|
File.Delete(Path.Combine(folderDir, Path.GetFileName(file)));
|
||||||
|
}
|
||||||
File.Move(file, Path.Combine(folderDir, Path.GetFileName(file)));
|
File.Move(file, Path.Combine(folderDir, Path.GetFileName(file)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue