fix build
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
02f5ed9e56
commit
b6f7d56a06
@ -2215,6 +2215,9 @@ async fn start_ipc(
|
|||||||
#[cfg(not(feature = "linux_headless"))]
|
#[cfg(not(feature = "linux_headless"))]
|
||||||
let user = None;
|
let user = None;
|
||||||
#[cfg(all(target_os = "linux", feature = "linux_headless"))]
|
#[cfg(all(target_os = "linux", feature = "linux_headless"))]
|
||||||
|
#[cfg(any(feature = "flatpak", feature = "appimage"))]
|
||||||
|
let user = None;
|
||||||
|
#[cfg(all(target_os = "linux", feature = "linux_headless"))]
|
||||||
#[cfg(not(any(feature = "flatpak", feature = "appimage")))]
|
#[cfg(not(any(feature = "flatpak", feature = "appimage")))]
|
||||||
let mut user = None;
|
let mut user = None;
|
||||||
// Cm run as user, wait until desktop session is ready.
|
// Cm run as user, wait until desktop session is ready.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user