diff options
Diffstat (limited to 'makima/src/bin/makima.rs')
| -rw-r--r-- | makima/src/bin/makima.rs | 35 |
1 files changed, 5 insertions, 30 deletions
diff --git a/makima/src/bin/makima.rs b/makima/src/bin/makima.rs index 406f6e1..070e28e 100644 --- a/makima/src/bin/makima.rs +++ b/makima/src/bin/makima.rs @@ -85,36 +85,8 @@ async fn run_daemon( // Check for missing critical dependencies if !dep_result.claude.installed { let os = setup::OperatingSystem::detect(); - - // If npm is available, offer to install Claude Code - if dep_result.npm_available() { - eprintln!(); - if setup::read_yes_no("Would you like to install Claude Code now?") { - match setup::install_claude_with_npm().await { - Ok(()) => { - eprintln!(); - // Re-check to verify installation - let recheck = setup::check_dependencies().await; - if !recheck.claude.installed { - eprintln!("\x1b[31mClaude Code installation could not be verified.\x1b[0m"); - eprintln!("Please try installing manually and restart the daemon."); - std::process::exit(1); - } - } - Err(e) => { - eprintln!("\x1b[31mFailed to install Claude Code: {}\x1b[0m", e); - setup::print_claude_install_instructions(os, true); - std::process::exit(1); - } - } - } else { - setup::print_claude_install_instructions(os, true); - std::process::exit(1); - } - } else { - setup::print_claude_install_instructions(os, false); - std::process::exit(1); - } + setup::print_claude_install_instructions(os); + std::process::exit(1); } if !dep_result.git.installed { @@ -122,6 +94,9 @@ async fn run_daemon( setup::print_git_install_instructions(os); std::process::exit(1); } + + // Print git authentication warnings (non-fatal) + setup::print_git_auth_warnings(&dep_result); } // Install Claude Code skills for makima commands |
