remove windows hate (sadly)
This commit is contained in:
parent
b4982722a7
commit
86963dcb76
|
@ -7,7 +7,7 @@ pub fn get_home() -> String {
|
||||||
let home = match std::env::consts::OS {
|
let home = match std::env::consts::OS {
|
||||||
"linux" => std::env::var("HOME").expect("how is there not a $HOME"),
|
"linux" => std::env::var("HOME").expect("how is there not a $HOME"),
|
||||||
"windows" => std::env::var("userprofile")
|
"windows" => std::env::var("userprofile")
|
||||||
.expect("yell at me if this doesn't work please i'm not going to touch windows"),
|
.expect("yell at me if this doesn't work please"),
|
||||||
_ => std::env::var("HOME").expect(
|
_ => std::env::var("HOME").expect(
|
||||||
"if this doesn't work, you're probably on macos, which i literally cannot test on",
|
"if this doesn't work, you're probably on macos, which i literally cannot test on",
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue