exclue .bak files from game copy

This commit is contained in:
IsWaffle 2024-05-01 12:41:34 -04:00
parent e84e000180
commit 7200355f52

View File

@ -70,6 +70,13 @@ public static class FileHelper
$"EXCLUSION FOUND :: FILE\nExclusion: '{exclusion}'\nPath: '{currentFileRelativePath}'"); $"EXCLUSION FOUND :: FILE\nExclusion: '{exclusion}'\nPath: '{currentFileRelativePath}'");
break; break;
} }
if (currentFileRelativePath.EndsWith(".bak"))
{
exclude = true;
Log.Debug($"EXCLUDING BAK FILE :: {currentFileRelativePath}");
break;
}
} }
if (exclude) if (exclude)