Release v1.4.8 with updater fallback recovery and extraction hardening
Build and Release / build (push) Has been cancelled

This commit is contained in:
Sucukdeluxe
2026-02-27 19:28:58 +01:00
parent 3b9c4a4e88
commit 333a912d67
7 changed files with 294 additions and 55 deletions
+2 -2
View File
@@ -787,7 +787,7 @@ export class DownloadManager extends EventEmitter {
continue;
}
const hasExtractMarker = items.some((item) => /entpack/i.test(item.fullStatus));
const hasExtractMarker = items.some((item) => isExtractedLabel(item.fullStatus));
const extractDirIsUnique = (extractDirUsage.get(pathKey(pkg.extractDir)) || 0) === 1;
const hasExtractedOutput = extractDirIsUnique && this.directoryHasAnyFiles(pkg.extractDir);
if (!hasExtractMarker && !hasExtractedOutput) {
@@ -823,7 +823,7 @@ export class DownloadManager extends EventEmitter {
continue;
}
logger.info(`Nachträgliches Cleanup geprüft: pkg=${pkg.name}, targets=${targets.size}, marker=${pkg.itemIds.some((id) => /entpack/i.test(this.session.items[id]?.fullStatus || ""))}`);
logger.info(`Nachträgliches Cleanup geprüft: pkg=${pkg.name}, targets=${targets.size}, marker=${pkg.itemIds.some((id) => isExtractedLabel(this.session.items[id]?.fullStatus || ""))}`);
let removed = 0;
for (const targetPath of targets) {