From f12c704bc46e2a894b6f12adf5d5f2e1fa6801d8 Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Fri, 30 May 2025 19:14:59 +0200 Subject: [PATCH] Cargo fmt --- apps/desktop/desktop_native/core/src/ipc/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/desktop/desktop_native/core/src/ipc/mod.rs b/apps/desktop/desktop_native/core/src/ipc/mod.rs index acf05bd9b95..ab1389784dc 100644 --- a/apps/desktop/desktop_native/core/src/ipc/mod.rs +++ b/apps/desktop/desktop_native/core/src/ipc/mod.rs @@ -116,7 +116,7 @@ pub fn all_paths(name: &str) -> Vec { .map(|path| flatpak_path.join(path).join(format!(".app.{name}.socket"))); let mut paths = vec![path(name)]; paths.extend(flatpak_paths); - + let username = env::var("USER").unwrap_or_else(|_| "unknown".to_string()); // The home directory is changed inside of snap, but we need the host home directory here. The following logic works in default // ubuntu installations, but may not work if the home directory is changed (active directory + mounted homes, etc.).