Skip to content

Commit

Permalink
Add restart prompt for Windows users after installation (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
Midnightific authored Aug 27, 2024
1 parent 9b8097c commit d0cc3a0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/cli/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,11 @@ impl InstallSubcommand {
pt.formatted_elapsed(),
));

let is_windows = cfg!(windows);
if is_windows {
pt.finish_with_message("Please restart your PC to apply PATH changes");
}

Ok(())
}
}

0 comments on commit d0cc3a0

Please sign in to comment.