change texture download path

This commit is contained in:
Quaternions 2023-09-28 22:05:25 -07:00
parent 3a3749eaeb
commit 8553625738

View File

@ -279,7 +279,7 @@ fn download_textures(paths: Vec<std::path::PathBuf>) -> BoxResult<()>{
let processes_result:Result<Vec<_>, _>=texture_list.iter().map(|asset_id|{ let processes_result:Result<Vec<_>, _>=texture_list.iter().map(|asset_id|{
std::process::Command::new("wget") std::process::Command::new("wget")
.args(shared_args) .args(shared_args)
.arg(format!("textures/{}",asset_id)) .arg(format!("textures/unprocessed/{}",asset_id))
.arg(format!("https://assetdelivery.roblox.com/v1/asset/?ID={}",asset_id)) .arg(format!("https://assetdelivery.roblox.com/v1/asset/?ID={}",asset_id))
.spawn() .spawn()
}).collect(); }).collect();