include macos

This commit is contained in:
Bryson Steck 2025-03-15 18:18:32 -06:00
parent 9c20714a3c
commit 06584cbf47
Signed by: bryson
SSH key fingerprint: SHA256:XpKABw/nP4z8UVaH+weLaBnEOD86+cVwif+QjuYLGT4

View file

@ -36,7 +36,11 @@ fn get_config_default() -> &'static str {
return "C:\\ProgramData\\refractr\\config.toml";
#[cfg(target_os = "linux")]
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";
}