Skip to content

Commit

Permalink
custom downloader bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alexch33 committed Dec 27, 2024
1 parent e30342f commit 8c92aea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ class CustomRegularDownloaderWorker(appContext: Context, workerParams: WorkerPar
showProgress(taskItem.also { it.mId = taskId }, progressCached)

val tmpDir = fileUtil.tmpDir.resolve(taskId).apply { mkdirs() }
outputFileName = fixFileName(tmpDir.resolve(taskItem.fileName).toString())
outputFileName = tmpDir.resolve(taskItem.fileName).toString()
val fixedHeaders = decodeCookieHeader(headers)

updateProgressInfoAndStartDownload(
Expand Down

0 comments on commit 8c92aea

Please sign in to comment.