add maintenance mode & improve & bugfixing

This commit is contained in:
2024-06-20 06:55:25 +02:00
parent c31cc3aa20
commit fc27fc1c34
9 changed files with 75 additions and 44 deletions

View File

@@ -1,8 +1,15 @@
namespace ModpackUpdater.Manager;
using ModpackUpdater.Model;
namespace ModpackUpdater.Manager;
public static class Extensions
{
public static bool IsSide(this Side @this, Side side)
{
return @this.HasFlag(side) || side.HasFlag(@this);
}
public static void CopyDirectory(string sourceDir, string destinationDir, bool recursive)
{