Firelance 0.1.5.2

- Refactored redundant if statement in FileManifest
- Added break statements to if function to prevent filter crawl
This commit is contained in:
2020-07-10 15:13:22 +01:00
parent 5b6a8e8349
commit ca04c7a88f
3 changed files with 76 additions and 85 deletions
+2 -2
View File
@@ -208,7 +208,7 @@ namespace DevConsole
Console.WriteLine(Helpers.Converters.GetSpecialToAbsolutePath(Console.ReadLine().ToUpper()));
break;
case "B":
string fullPath = Path.Combine(Helpers.Converters.GetSpecialToAbsolutePath("%DOCUMENTS%") , @"BioWare\Mass Effect Andromeda");
string fullPath = Path.Combine(Helpers.Converters.GetSpecialToAbsolutePath("%DOCUMENTS%") , @"Saved Games\Hades");
string relPath = fullPath.Replace(Helpers.Converters.GetSpecialToAbsolutePath("%DOCUMENTS%") + "\\", string.Empty);
Console.WriteLine($"Full: {fullPath}");
@@ -219,7 +219,7 @@ namespace DevConsole
var i = Console.ReadLine();
Console.Write("Exclusion Filter: ");
var e = Console.ReadLine();
PrintListValues(new ManifestFilter().Build(fullPath, i, e));
PrintListValues(new FileManifest().Build(fullPath, i, e));
//FSManipulation.CopyDirectory(
// fullPath,