mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Support ancient .NET in DatTools
This commit is contained in:
@@ -50,7 +50,11 @@ namespace RombaSharp.Features
|
||||
// Loop over all input directories
|
||||
foreach (string input in Inputs)
|
||||
{
|
||||
#if NET20 || NET35
|
||||
List<string> depotFiles = Directory.GetFiles(input, "*.gz").ToList();
|
||||
#else
|
||||
List<string> depotFiles = Directory.EnumerateFiles(input, "*.gz", SearchOption.AllDirectories).ToList();
|
||||
#endif
|
||||
|
||||
// If we are copying all that is possible but we want to scan first
|
||||
if (!onlyNeeded && !skipInitialscan)
|
||||
|
||||
Reference in New Issue
Block a user