mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-10 07:04:36 +00:00
And more adjustments
This commit is contained in:
parent
eb4d87decc
commit
27aa3ddb46
1 changed files with 2 additions and 2 deletions
|
@ -78,7 +78,7 @@ namespace Updater
|
|||
foreach (string dir in Directory.GetDirectories("master/"))
|
||||
{
|
||||
File.SetAttributes(dir, FileAttributes.Directory);
|
||||
File.SetAttributes(folderDir, FileAttributes.Normal);
|
||||
File.SetAttributes(folderDir, FileAttributes.Directory);
|
||||
|
||||
string dirName = new DirectoryInfo(dir).Name;
|
||||
|
||||
|
@ -93,7 +93,7 @@ namespace Updater
|
|||
continue;
|
||||
|
||||
File.SetAttributes(file, FileAttributes.Normal);
|
||||
File.SetAttributes(folderDir, FileAttributes.Normal);
|
||||
File.SetAttributes(folderDir, FileAttributes.Directory);
|
||||
|
||||
if (File.Exists(Path.Combine(folderDir, Path.GetFileName(file))))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue