forked from StrafesNET/map-tool
change texture download path
This commit is contained in:
parent
3a3749eaeb
commit
8553625738
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user