Fix using download-textures/download-meshes; automatically create some subfolders #3
@ -247,7 +247,7 @@ fn download_textures(paths:Vec<PathBuf>)->AResult<()>{
|
||||
let texture_list_string=texture_list.into_iter().map(|id|id.to_string()).collect::<Vec<String>>();
|
||||
println!("Texture list:{:?}",texture_list_string.join(" "));
|
||||
let output=std::process::Command::new("asset-tool")
|
||||
.args(["download","environment","RBXCOOKIE","textures/unprocessed/"])
|
||||
.args(["download","--cookie-literal","","--output-folder","textures/unprocessed/"])
|
||||
.args(texture_list_string)
|
||||
.spawn()?
|
||||
.wait_with_output()?;
|
||||
@ -282,7 +282,7 @@ fn download_meshes(paths:Vec<PathBuf>)->AResult<()>{
|
||||
let mesh_list_string=mesh_list.into_iter().map(|id|id.to_string()).collect::<Vec<String>>();
|
||||
println!("Mesh list:{:?}",mesh_list_string.join(" "));
|
||||
let output=std::process::Command::new("asset-tool")
|
||||
.args(["download","environment","RBXCOOKIE","meshes/"])
|
||||
.args(["download","--cookie-literal","","--output-folder","meshes/"])
|
||||
.args(mesh_list_string)
|
||||
.spawn()?
|
||||
.wait_with_output()?;
|
||||
|
Loading…
Reference in New Issue
Block a user