mirror of
https://codeberg.org/icewind/vbsp-to-gltf.git
synced 2026-06-03 18:24:07 +02:00
fix gltfpack not found for nix build
This commit is contained in:
parent
0249988479
commit
1161fcf2ad
2 changed files with 5 additions and 3 deletions
|
|
@ -10,7 +10,9 @@ pub async fn pack(map: &str, data: &[u8]) -> Result<Vec<u8>> {
|
|||
|
||||
input.write_all(data).await?;
|
||||
|
||||
let out = Command::new("gltfpack")
|
||||
let pack_cmd = option_env!("GLTFPACK").unwrap_or("gltfpack");
|
||||
|
||||
let out = Command::new(pack_cmd)
|
||||
.arg("-kn")
|
||||
.arg("-mm")
|
||||
.arg("-tc")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue