Skip to content

Commit 821abad

Browse files
izzoa123vivekr
authored andcommitted
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
1 parent 246e0c8 commit 821abad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src-tauri/src/claude_binary.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ fn find_nvm_installations() -> Vec<ClaudeInstallation> {
223223
path: claude_path.to_string_lossy().to_string(),
224224
version,
225225
source: "nvm-active".to_string(),
226+
installation_type: InstallationType::System,
226227
});
227228
}
228229
}

0 commit comments

Comments
 (0)