fix build

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou committed 2023-07-29 16:09:10 +08:00
1 parent 19c8ba719a
commit d761d2f00e
3 files changed
+6 -6

No files matched your search

+2 -1
View File
@@ -2391,10 +2391,11 @@ async fn start_ipc(
args.push("--hide");
};
#[cfg(target_os = "linux")]
#[cfg(any(
feature = "flatpak",
feature = "appimage",
not(all(target_os = "linux", feature = "linux_headless"))
not(feature = "linux_headless")
))]
let user = None;
#[cfg(all(target_os = "linux", feature = "linux_headless"))]