feat: download cancellation, duplicate detection, progress tracking improvements

This commit is contained in:
zarzet committed 2026-01-16 03:46:31 +07:00
1 parent 1a90887465
commit b193bc0b8f
19 files changed
+428 -37

No files matched your search

+6
View File
@@ -120,6 +120,12 @@ import Gobackend // Import Go framework
let itemId = args["item_id"] as! String
GobackendClearItemProgress(itemId)
return nil
case "cancelDownload":
let args = call.arguments as! [String: Any]
let itemId = args["item_id"] as! String
GobackendCancelDownload(itemId)
return nil
case "setDownloadDirectory":
let args = call.arguments as! [String: Any]