We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99b7b8c commit 7e9d423Copy full SHA for 7e9d423
src/config.rs
@@ -35,10 +35,10 @@ impl Config {
35
#[cfg(windows)] {
36
data_dir = BaseDirs::new().unwrap().data_local_dir().to_path_buf().join("Geode");
37
};
38
- #[cfg(macos)] {
+ #[cfg(target_os = "macos")] {
39
data_dir = PathBuf::from("/Users/Shared/Geode");
40
41
- #[cfg(not(any(windows, macos)))] {
+ #[cfg(not(any(windows, target_os = "macos")))] {
42
use std::compile_error;
43
compile_error!("implement config.json directory");
44
0 commit comments