mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-14 03:56:27 +00:00
fix: cli feature compilation
This commit is contained in:
@@ -441,6 +441,7 @@ pub fn is_installed_daemon(_prompt: bool) -> bool {
|
||||
}
|
||||
|
||||
pub fn get_error() -> String {
|
||||
#[cfg(not(any(feature = "cli")))]
|
||||
#[cfg(target_os = "linux")]
|
||||
{
|
||||
let dtype = crate::platform::linux::get_display_server();
|
||||
|
||||
Reference in New Issue
Block a user