include macos
This commit is contained in:
parent
9c20714a3c
commit
06584cbf47
1 changed files with 5 additions and 1 deletions
|
@ -36,7 +36,11 @@ fn get_config_default() -> &'static str {
|
||||||
return "C:\\ProgramData\\refractr\\config.toml";
|
return "C:\\ProgramData\\refractr\\config.toml";
|
||||||
#[cfg(target_os = "linux")]
|
#[cfg(target_os = "linux")]
|
||||||
return "/etc/refractr/config.toml";
|
return "/etc/refractr/config.toml";
|
||||||
#[cfg(any(target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))]
|
#[cfg(any(target_os = "freebsd",
|
||||||
|
target_os = "openbsd",
|
||||||
|
target_os = "netbsd",
|
||||||
|
target_os = "macos"
|
||||||
|
))]
|
||||||
return "/usr/local/etc/refractr/config.toml";
|
return "/usr/local/etc/refractr/config.toml";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue