From 1cd2e82bb213cda77270c97945e3bbbca172f238 Mon Sep 17 00:00:00 2001 From: "Izzo, Anthony M" Date: Sat, 27 Sep 2025 16:49:07 -0400 Subject: [PATCH] Fix missing installation_type field in ClaudeInstallation struct - Add missing installation_type field to ClaudeInstallation initialization in find_nvm_installations() function at line 222 - This field is required by the struct definition but was omitted from one instance in the NVM discovery code - The missing field caused Rust compilation to fail with error E0063 during tauri build - Set installation_type to InstallationType::System to match other NVM installations in the same function - Fixes build failure for aarch64-apple-darwin target and other platforms --- src-tauri/src/claude_binary.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src-tauri/src/claude_binary.rs b/src-tauri/src/claude_binary.rs index fe4b2a8eb..d7e1b0e66 100644 --- a/src-tauri/src/claude_binary.rs +++ b/src-tauri/src/claude_binary.rs @@ -223,6 +223,7 @@ fn find_nvm_installations() -> Vec { path: claude_path.to_string_lossy().to_string(), version, source: "nvm-active".to_string(), + installation_type: InstallationType::System, }); } }