From 06584cbf47039920702e36d3de2caa56bb341ea6 Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Sat, 15 Mar 2025 18:18:32 -0600 Subject: [PATCH] include macos --- src/main.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 70f27ae..e89a3c3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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"; }