And more adjustments

This commit is contained in:
KillzXGaming 2019-06-01 19:32:22 -04:00
parent eb4d87decc
commit 27aa3ddb46

View file

@ -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))))
{