Exclude from config perspective, not exe

This commit is contained in:
2025-07-14 18:31:13 +02:00
parent 84f23323fa
commit 509cd7b600

View File

@ -325,9 +325,9 @@ private immutable(Actions) actions()
).any;
bool[string] to_be_deleted;
foreach (file; loc.byKey)
if ( !exclude(file) )
to_be_deleted[file] = true;
foreach (pair; loc.byKeyValue)
if ( !exclude(pair.value.file) )
to_be_deleted[pair.key] = true;
foreach (this_rem; rem.byValue)
{
@ -405,6 +405,7 @@ public void update()
final switch(action.what)
{
case Action.remove:
info("Remove %s", action.file);
remove(action.file);
break;
case Action.download: