fix build
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
02f5ed9e56
commit
b6f7d56a06
1 changed files with 3 additions and 0 deletions
|
|
@ -2215,6 +2215,9 @@ async fn start_ipc(
|
|||
#[cfg(not(feature = "linux_headless"))]
|
||||
let user = None;
|
||||
#[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")))]
|
||||
let mut user = None;
|
||||
// Cm run as user, wait until desktop session is ready.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue