Filter meta files

This commit is contained in:
erri120 2022-11-14 16:22:55 +01:00
parent 6db7327751
commit 1177175689
No known key found for this signature in database

View File

@ -229,9 +229,9 @@ public class StandardInstaller : AInstaller<StandardInstaller>
_logger.LogInformation("Writing Metas");
await _configuration.Downloads.EnumerateFiles()
.Where(download => download.Extension != Ext.Meta)
.PDoAll(async download =>
{
if (download.Extension == Ext.Meta) return;
var metaFile = download.WithExtension(Ext.Meta);
var found = bySize[download.Size()];