Fix specify download directory not works when downloading fanbox posts ( #323

This commit is contained in:
2022-10-29 01:21:15 +00:00
committed by GitHub
parent 89b1d91ef6
commit 1e5fc79274

View File

@@ -567,7 +567,7 @@ pub async fn download_fanbox_post(
return Ok(());
}
let base = Arc::new(
PathBuf::from(".")
PathBuf::from(helper.download_base())
.join(&id.creator_id)
.join(format!("{}", id.post_id)),
);