fix build

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

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"))]