Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

fix(create-3d): gate the Mac test helper to Unix, like its tests

purple13091c9db500
diff --git a/src-tauri/src/commands/blender.rs b/src-tauri/src/commands/blender.rs
index ac3b30d1..bbbd8b3c 100644
--- a/src-tauri/src/commands/blender.rs
+++ b/src-tauri/src/commands/blender.rs
@@ -738,6 +738,8 @@ mod tests {
std::fs::write(p, b"x").unwrap();
}
+ // Only the Unix-only Mac tests below use it; on Windows it would be dead code.
+ #[cfg(unix)]
fn mac_app(dir: &Path, name: &str, bundle: &str, version: &str) -> PathBuf {
let app = dir.join(name);
exe(&app.join("Contents/MacOS/Blender"));