exclue .bak files from game copy
This commit is contained in:
parent
e84e000180
commit
7200355f52
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user