somebody not tidy, but like tidy code, :), https://github.com/rustdesk/rustdesk/issues/198

This commit is contained in:
rustdesk 2021-08-16 21:28:59 +08:00
parent aaffbe476e
commit 2df4da89dc

View File

@ -272,6 +272,7 @@ impl Config {
}
pub fn log_path() -> PathBuf {
#[allow(unreachable_code)]
#[cfg(target_os = "macos")]
{
if let Some(path) = dirs_next::home_dir().as_mut() {