diff options
Diffstat (limited to '')
-rw-r--r-- | muddle/paths.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/muddle/paths.py b/muddle/paths.py index 1448586..116d128 100644 --- a/muddle/paths.py +++ b/muddle/paths.py @@ -26,7 +26,10 @@ elif platform.system() == "Windows": if os.environ.get("LOCALAPPDATA"): default_log_dir = pathlib.Path(os.environ["LOCALAPPDATA"]).joinpath("muddle") -# TODO: implement for MacOS +elif platform.system() == "Darwin": + default_config_dir = pathlib.Path("~/Library/Preferences/ch.0hm.muddle/").expanduser() + default_log_dir = pathlib.Path("~/Library/Caches/ch.0hm.muddle/").expanduser() + default_config_file = default_config_dir.joinpath("muddle.ini") -default_log_file = default_log_dir.joinpath("muddle.log")
\ No newline at end of file +default_log_file = default_log_dir.joinpath("muddle.log") |