some more bugfixes & cleanup

This commit is contained in:
2024-06-22 13:39:17 +02:00
parent 4b78ce1b6f
commit 11e9290fc8
5 changed files with 150 additions and 124 deletions

View File

@@ -2,7 +2,6 @@
namespace ModpackUpdater.Manager;
public static class Extensions
{
public static bool IsSide(this Side @this, Side side)
@@ -30,7 +29,7 @@ public static class Extensions
foreach (FileInfo @file in dir.GetFiles())
{
string targetFilePath = Path.Combine(destinationDir, @file.Name);
@file.CopyTo(targetFilePath);
@file.CopyTo(targetFilePath, true);
}
// If recursive and copying subdirectories, recursively call this method
@@ -43,5 +42,4 @@ public static class Extensions
}
}
}
}