mirror of
https://github.com/claunia/romrepomgr.git
synced 2025-12-16 19:24:51 +00:00
Sort files when importing ROMs.
This commit is contained in:
@@ -75,7 +75,7 @@ namespace RomRepoMgr.Core.Workers
|
|||||||
Message = Localization.EnumeratingFiles
|
Message = Localization.EnumeratingFiles
|
||||||
});
|
});
|
||||||
|
|
||||||
string[] files = Directory.GetFiles(path, "*", SearchOption.AllDirectories);
|
string[] files = Directory.GetFiles(path, "*", SearchOption.AllDirectories).OrderBy(p => p).ToArray();
|
||||||
_totalFiles += files.LongLength;
|
_totalFiles += files.LongLength;
|
||||||
|
|
||||||
SetProgressBounds?.Invoke(this, new ProgressBoundsEventArgs
|
SetProgressBounds?.Invoke(this, new ProgressBoundsEventArgs
|
||||||
|
|||||||
Reference in New Issue
Block a user