somebody not tidy, but like tidy code, :), https://github.com/rustdesk/rustdesk/issues/198
This commit is contained in:
parent
aaffbe476e
commit
2df4da89dc
@ -272,6 +272,7 @@ impl Config {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn log_path() -> PathBuf {
|
pub fn log_path() -> PathBuf {
|
||||||
|
#[allow(unreachable_code)]
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
{
|
{
|
||||||
if let Some(path) = dirs_next::home_dir().as_mut() {
|
if let Some(path) = dirs_next::home_dir().as_mut() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user