feat(daemon): add blender detection to probe_capabilities() fallback #261
1 changed files with 10 additions and 0 deletions
|
|
@ -936,6 +936,16 @@ fn probe_capabilities() -> Vec<String> {
|
|||
}
|
||||
}
|
||||
|
||||
// blender
|
||||
if let Ok(out) = std::process::Command::new("blender")
|
||||
.arg("--version")
|
||||
.output()
|
||||
{
|
||||
if out.status.success() {
|
||||
caps.push("blender".to_string());
|
||||
}
|
||||
}
|
||||
|
||||
caps
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue