do not enable linux_headless when flatpak or appimage is enabled

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-04-09 11:35:14 +08:00
parent 1f06dc7122
commit afe07dde6f
3 changed files with 20 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ pub mod delegate;
pub mod linux;
#[cfg(all(target_os = "linux", feature = "linux_headless"))]
#[cfg(not(any(feature = "flatpak", feature = "appimage")))]
pub mod linux_desktop_manager;
#[cfg(not(any(target_os = "android", target_os = "ios")))]