From a3c2680fec25a60ead029a2777fb8afdf48d2f3f Mon Sep 17 00:00:00 2001 From: Sucukdeluxe Date: Thu, 5 Mar 2026 03:13:08 +0100 Subject: [PATCH] Show transitional label between archive extractions After an archive finishes at 100%, show "Naechstes Archiv..." label while the next archive initializes, eliminating the "dead" gap where no activity was visible between consecutive extractions. Co-Authored-By: Claude Opus 4.6 --- package.json | 2 +- src/main/download-manager.ts | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index de2b4c8..df60c14 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "real-debrid-downloader", - "version": "1.6.43", + "version": "1.6.44", "description": "Desktop downloader", "main": "build/main/main/main.js", "author": "Sucukdeluxe", diff --git a/src/main/download-manager.ts b/src/main/download-manager.ts index 96a06cb..3aa3b00 100644 --- a/src/main/download-manager.ts +++ b/src/main/download-manager.ts @@ -6412,6 +6412,12 @@ export class DownloadManager extends EventEmitter { } activeHybridArchiveMap.delete(progress.archiveName); hybridArchiveStartTimes.delete(progress.archiveName); + // Show transitional label while next archive initializes + const done = progress.current + 1; + if (done < progress.total) { + pkg.postProcessLabel = `Entpacken (${done}/${progress.total}) - Naechstes Archiv...`; + this.emitState(); + } } else { // Update this archive's items with per-archive progress const archiveLabel = ` · ${progress.archiveName}`; @@ -6726,6 +6732,11 @@ export class DownloadManager extends EventEmitter { } activeArchiveItemsMap.delete(progress.archiveName); archiveStartTimes.delete(progress.archiveName); + // Show transitional label while next archive initializes + const done = progress.current + 1; + if (done < progress.total) { + emitExtractStatus(`Entpacken (${done}/${progress.total}) - Naechstes Archiv...`, true); + } } else { // Update this archive's items with per-archive progress const archiveTag = progress.archiveName ? ` · ${progress.archiveName}` : "";