From fceed1f5156457a97cac1d9fefb097d7dbbb5cee Mon Sep 17 00:00:00 2001 From: lzt404 <2596933790@qq.com> Date: Mon, 10 Aug 2026 11:08:32 +0800 Subject: [PATCH] fix: gate Codex app discovery to supported platforms --- src-tauri/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index 47cabc9..df55602 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -4067,6 +4067,7 @@ fn is_managed_agent_base_url(value: &str) -> bool { value.starts_with("http://127.0.0.1:") || value.starts_with("http://localhost:") } +#[cfg(any(target_os = "macos", target_os = "windows"))] fn find_codex_app_installation(home: &Path) -> Option { #[cfg(target_os = "macos")] {