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(install): der zerlegte Baum kompiliert wieder unter Windows

purple0014bb1cc089
diff --git a/src-tauri/src/commands/install/ollama.rs b/src-tauri/src/commands/install/ollama.rs
index 300a9ca4..63672468 100644
--- a/src-tauri/src/commands/install/ollama.rs
+++ b/src-tauri/src/commands/install/ollama.rs
@@ -187,7 +187,7 @@ fn install_ollama_windows_impl<F: Fn(&str, &str)>(
update("starting", &format!("Installer finished (code {}). Starting Ollama...", code));
}
Err(e) => {
- update("error", &format!("Could not run installer: {}", os_error::english(&e)));
+ update("error", &format!("Could not run installer: {}", crate::os_error::english(&e)));
return;
}
}
diff --git a/src-tauri/src/commands/install/pip.rs b/src-tauri/src/commands/install/pip.rs
index 3f4bf62b..b0c411d7 100644
--- a/src-tauri/src/commands/install/pip.rs
+++ b/src-tauri/src/commands/install/pip.rs
@@ -24,16 +24,12 @@ use std::sync::atomic::{AtomicBool, AtomicU64, Ordering};
use std::sync::{Arc, Mutex};
use std::time::Instant;
-#[cfg(target_os = "windows")]
-use std::os::windows::process::CommandExt;
use crate::state::InstallState;
use crate::os_error;
use crate::python::python_command;
use super::children::TrackedInstallerChild;
-#[cfg(target_os = "windows")]
-use super::CREATE_NO_WINDOW;
// ── pip helpers (issue #32: PyTorch / ComfyUI install reliability) ───────────
diff --git a/src-tauri/src/commands/install/venv.rs b/src-tauri/src/commands/install/venv.rs
index 9354ea14..f888a6b7 100644
--- a/src-tauri/src/commands/install/venv.rs
+++ b/src-tauri/src/commands/install/venv.rs
@@ -18,15 +18,11 @@ use std::path::{Path, PathBuf};
use crate::python::python_command;
use std::process::Stdio;
-#[cfg(target_os = "windows")]
-use std::os::windows::process::CommandExt;
use crate::os_error;
use crate::python::venv_python_path;
use crate::state::AppState;
-#[cfg(target_os = "windows")]
-use super::CREATE_NO_WINDOW;
// ── PEP 668 / venv helpers (Bug E — rzgrozt Arch externally-managed) ─────────
diff --git a/src-tauri/src/commands/install/voice.rs b/src-tauri/src/commands/install/voice.rs
index 232418e4..02732fa2 100644
--- a/src-tauri/src/commands/install/voice.rs
+++ b/src-tauri/src/commands/install/voice.rs
@@ -16,8 +16,6 @@
use std::process::Stdio;
-#[cfg(target_os = "windows")]
-use std::os::windows::process::CommandExt;
use tauri::{Manager, State};
use tracing::{error, info};
@@ -28,8 +26,6 @@ use crate::python::python_command;
use super::pip::pip_install_streaming_with_retry_cancellable;
use super::venv::{is_pep668_protected, resolve_lu_python};
-#[cfg(target_os = "windows")]
-use super::CREATE_NO_WINDOW;
// ── Whisper (faster-whisper) installer (§24.9 — STT install affordance) ──────