Fixed Downloads

This commit is contained in:
Geomitron
2020-03-04 18:17:54 -05:00
parent 4ebf2db650
commit db02710b37
16 changed files with 480 additions and 396 deletions

View File

@@ -26,5 +26,11 @@ export interface DownloadProgress {
header: string
description: string
percent: number
type: 'good' | 'warning' | 'error' | 'cancel' | 'done' | 'wait'
}
type: ProgressType
}
export type ProgressType = 'good' | 'warning' | 'error' | 'cancel' | 'done' | 'fastUpdate'
// export function downloadSorter(p1: DownloadProgress, p2: DownloadProgress) {
// return 0
// // return p1 - p2 // negative if p1 < p2
// }