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 <noreply@anthropic.com>
This commit is contained in:
parent
12dade0240
commit
a3c2680fec
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "real-debrid-downloader",
|
"name": "real-debrid-downloader",
|
||||||
"version": "1.6.43",
|
"version": "1.6.44",
|
||||||
"description": "Desktop downloader",
|
"description": "Desktop downloader",
|
||||||
"main": "build/main/main/main.js",
|
"main": "build/main/main/main.js",
|
||||||
"author": "Sucukdeluxe",
|
"author": "Sucukdeluxe",
|
||||||
|
|||||||
@ -6412,6 +6412,12 @@ export class DownloadManager extends EventEmitter {
|
|||||||
}
|
}
|
||||||
activeHybridArchiveMap.delete(progress.archiveName);
|
activeHybridArchiveMap.delete(progress.archiveName);
|
||||||
hybridArchiveStartTimes.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 {
|
} else {
|
||||||
// Update this archive's items with per-archive progress
|
// Update this archive's items with per-archive progress
|
||||||
const archiveLabel = ` · ${progress.archiveName}`;
|
const archiveLabel = ` · ${progress.archiveName}`;
|
||||||
@ -6726,6 +6732,11 @@ export class DownloadManager extends EventEmitter {
|
|||||||
}
|
}
|
||||||
activeArchiveItemsMap.delete(progress.archiveName);
|
activeArchiveItemsMap.delete(progress.archiveName);
|
||||||
archiveStartTimes.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 {
|
} else {
|
||||||
// Update this archive's items with per-archive progress
|
// Update this archive's items with per-archive progress
|
||||||
const archiveTag = progress.archiveName ? ` · ${progress.archiveName}` : "";
|
const archiveTag = progress.archiveName ? ` · ${progress.archiveName}` : "";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user