Update env.rs (#420)

* 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>
This commit is contained in:
Ryan Kopf 2024-03-22 05:53:12 -05:00 committed by GitHub
parent c390abe8d5
commit 72700d7538
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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) {