Skip to content

Commit

Permalink
Update env.rs (#420)
Browse files Browse the repository at this point in the history
* Update env.rs

The book says "There is no need to execute the file for Windows users. It is only created to show the modified environment variables.". This appears to be out of date.

* Update src/env.rs to simpler help message.

Co-authored-by: Sergio Gasquez Arcos <sergio.gasquez@gmail.com>

* fix: Remove line

---------

Co-authored-by: Sergio Gasquez Arcos <sergio.gasquez@gmail.com>
  • Loading branch information
ryankopf and SergioGasquez committed Mar 22, 2024
1 parent c390abe commit 72700d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ pub fn print_post_install_msg(export_file: &Path) -> Result<(), Error> {
"\tA file was created at '{}' showing the injected environment variables",
export_file.display()
);
println!("\tIf you get still get errors, try manually adding the environment variables by running '{}'", export_file.display()
);
}
#[cfg(unix)]
if cfg!(unix) {
Expand Down

0 comments on commit 72700d7

Please sign in to comment.