partial device.env path
This commit is contained in:
@@ -6,8 +6,8 @@ use std::path::Path;
|
||||
|
||||
pub fn read_env_var() {
|
||||
let filename = "device.env";
|
||||
let mut path = env::var("PWD").unwrap().to_string();
|
||||
path.push('/');
|
||||
let mut path = env::var("HOME").unwrap().to_string();
|
||||
path.push_str("/Scripts/");
|
||||
path.push_str(filename);
|
||||
println!("{}", path);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user