Firelance 0.1.5.1

- Rewrote ManifestBuilder as directory filters are not fully supported causing exceptions with many patterns
- FilterDirectory needs completing
This commit is contained in:
2020-07-09 17:42:19 +01:00
parent a819e37fe7
commit 4465361c2a
2 changed files with 53 additions and 17 deletions
+5 -5
View File
@@ -208,17 +208,17 @@ namespace DevConsole
Console.WriteLine(Helpers.Converters.GetSpecialToAbsolutePath(Console.ReadLine().ToUpper()));
break;
case "B":
//var dir = Helpers.Filters.GetFileList(@"D:\Temp");
string fullPath = Path.Combine(Helpers.Converters.GetSpecialToAbsolutePath("%DOCUMENTS%") , @"BioWare\Mass Effect Andromeda");
string relPath = fullPath.Replace(Helpers.Converters.GetSpecialToAbsolutePath("%DOCUMENTS%") + "\\", string.Empty);
Console.WriteLine($"Full: {fullPath}");
Console.WriteLine($"Relative Path: {relPath}");
PrintListValues(Helpers.Filters.FilterDirectory(fullPath, @"*.*", ""));
FSManipulation.CopyDirectory(
fullPath,
fullPath.Replace(Helpers.Converters.GetSpecialToAbsolutePath("%DOCUMENTS%") + "\\", @"D:\Temp\TEST\"));
PrintListValues(Helpers.Filters.FilterDirectory(fullPath, @"*ManualSave|*AutoSave", @"BioWare\Mass Effect Andromeda\Save\*"));
//FSManipulation.CopyDirectory(
// fullPath,
// fullPath.Replace(Helpers.Converters.GetSpecialToAbsolutePath("%DOCUMENTS%") + "\\", @"D:\Temp\TEST\"));
break;
case "X":
break;