Show "Jetzt entpacken" context menu when any item is completed, re-enable paused packages
Build and Release / build (push) Has been cancelled

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Sucukdeluxe
2026-03-03 02:52:19 +01:00
co-authored by Claude Opus 4.6
parent fa30e738d9
commit 19a588a997
3 changed files with 6 additions and 7 deletions
+3
View File
@@ -3069,6 +3069,9 @@ export class DownloadManager extends EventEmitter {
const pkg = this.session.packages[packageId];
if (!pkg || pkg.cancelled) return;
if (this.packagePostProcessTasks.has(packageId)) return;
if (!pkg.enabled) {
pkg.enabled = true;
}
const items = pkg.itemIds.map((id) => this.session.items[id]).filter(Boolean) as DownloadItem[];
const completedItems = items.filter((item) => item.status === "completed");
if (completedItems.length === 0) return;