From 121f2bb50c5d932c89eb1b5a258010220d4ff9e6 Mon Sep 17 00:00:00 2001 From: Sudip Ghimire Date: Sat, 20 Nov 2021 20:35:59 +0545 Subject: [PATCH] Use preferences_dir instead of config_dir which seems to same for all and more accurate for mac --- config/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/lib.rs b/config/lib.rs index 5409366..f0a786d 100644 --- a/config/lib.rs +++ b/config/lib.rs @@ -274,7 +274,7 @@ pub struct MpvOptions { impl Default for MpvOptions { fn default() -> Self { MpvOptions { - config_path: ConfigContainer::get_config_dir() + config_path: ConfigContainer::get_preferences_dir() .unwrap() .as_path() .to_string_lossy()