diff --git a/src/main.rs b/src/main.rs index 835ece5..ef42af5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -247,7 +247,7 @@ fn download_textures(paths:Vec)->AResult<()>{ let texture_list_string=texture_list.into_iter().map(|id|id.to_string()).collect::>(); 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)->AResult<()>{ let mesh_list_string=mesh_list.into_iter().map(|id|id.to_string()).collect::>(); 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()?;