Add download pausing, canceling and resuming

This commit is contained in:
Lncvrt committed 2026-03-10 21:22:24 -07:00
1 parent 0b4e639630
commit 4054fdd06b
6 files changed
+317 -91

No files matched your search

+7 -1
View File
@@ -4,6 +4,9 @@ export class DownloadProgress {
public progress: number,
public progressBytes: number,
public failed: boolean,
public downloading: boolean,
public paused: boolean,
public canceled: boolean,
public queued: boolean,
public hash_checking: boolean,
public speed: number,
@@ -11,6 +14,9 @@ export class DownloadProgress {
public etaSecs: number,
public unzipping: boolean,
public unzipTotal: number,
public unzipped: number
public unzipped: number,
public url: string | null,
public executable: string | null,
public hash: string | null
) {}
}