fix commands and stylign

This commit is contained in:
SpikeHD
2022-05-11 19:47:44 -07:00
parent 414a9eaa86
commit 3ee8ee7061
6 changed files with 37 additions and 10 deletions

View File

@@ -42,9 +42,8 @@ export default class DownloadHandler {
}
addDownload(url: string, path: string) {
// Begin download from rust backend
// Begin download from rust backend, don't add if the download addition fails
invoke('download_file', { url, path })
const obj = {
path,
progress: 0,