diff --git a/SPTInstaller/Helpers/FileHelper.cs b/SPTInstaller/Helpers/FileHelper.cs index 92edaba..18fa8b9 100644 --- a/SPTInstaller/Helpers/FileHelper.cs +++ b/SPTInstaller/Helpers/FileHelper.cs @@ -70,6 +70,13 @@ public static class FileHelper $"EXCLUSION FOUND :: FILE\nExclusion: '{exclusion}'\nPath: '{currentFileRelativePath}'"); break; } + + if (currentFileRelativePath.EndsWith(".bak")) + { + exclude = true; + Log.Debug($"EXCLUDING BAK FILE :: {currentFileRelativePath}"); + break; + } } if (exclude)