diff --git a/src/config.rs b/src/config.rs index 75c1e7c..dfc866c 100644 --- a/src/config.rs +++ b/src/config.rs @@ -33,7 +33,7 @@ pub struct CliArgs { #[arg(long, env = "EMBY_VIDEO_OUTPUT")] pub video_output: Option, - /// Path to config file. Defaults: ./config.toml then $XDG_CONFIG_HOME/emby-client/config.toml + /// Path to config file. Defaults: ./config.toml then $XDG_CONFIG_HOME/emby-tui-client/config.toml #[arg(short, long)] pub config: Option, @@ -95,7 +95,7 @@ fn read_file_config(explicit: Option<&Path>) -> Result<(FileConfig, PathBuf)> { vec![p.to_path_buf()] } else { let mut v = vec![PathBuf::from("config.toml")]; - if let Some(dirs) = directories::ProjectDirs::from("", "", "emby-client") { + if let Some(dirs) = directories::ProjectDirs::from("", "", "emby-tui-client") { v.push(dirs.config_dir().join("config.toml")); } v @@ -117,7 +117,7 @@ fn read_file_config(explicit: Option<&Path>) -> Result<(FileConfig, PathBuf)> { } fn default_save_path() -> PathBuf { - if let Some(dirs) = directories::ProjectDirs::from("", "", "emby-client") { + if let Some(dirs) = directories::ProjectDirs::from("", "", "emby-tui-client") { dirs.config_dir().join("config.toml") } else { PathBuf::from("config.toml")