From fe929d1139e45409f1d2b222448b7f9b8423ba8d Mon Sep 17 00:00:00 2001 From: fufesou Date: Thu, 13 Aug 2026 21:57:40 +0800 Subject: [PATCH] refact: remove linux headless Signed-off-by: fufesou --- src/config.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/config.rs b/src/config.rs index 707bbe0f7..84297a052 100644 --- a/src/config.rs +++ b/src/config.rs @@ -99,14 +99,11 @@ lazy_static::lazy_static! { pub const LINK_DOCS_HOME: &str = "https://rustdesk.com/docs/en/"; pub const LINK_DOCS_X11_REQUIRED: &str = "https://rustdesk.com/docs/en/manual/linux/#x11-required"; -pub const LINK_HEADLESS_LINUX_SUPPORT: &str = - "https://github.com/rustdesk/rustdesk/wiki/Headless-Linux-Support"; lazy_static::lazy_static! { pub static ref HELPER_URL: HashMap<&'static str, &'static str> = HashMap::from([ ("rustdesk docs home", LINK_DOCS_HOME), ("rustdesk docs x11-required", LINK_DOCS_X11_REQUIRED), - ("rustdesk x11 headless", LINK_HEADLESS_LINUX_SUPPORT), ]); } @@ -2931,7 +2928,6 @@ pub mod keys { pub const OPTION_ENABLE_ABR: &str = "enable-abr"; pub const OPTION_ALLOW_REMOVE_WALLPAPER: &str = "allow-remove-wallpaper"; pub const OPTION_ALLOW_ALWAYS_SOFTWARE_RENDER: &str = "allow-always-software-render"; - pub const OPTION_ALLOW_LINUX_HEADLESS: &str = "allow-linux-headless"; pub const OPTION_ENABLE_HWCODEC: &str = "enable-hwcodec"; pub const OPTION_APPROVE_MODE: &str = "approve-mode"; pub const OPTION_VERIFICATION_METHOD: &str = "verification-method"; @@ -3165,7 +3161,6 @@ pub mod keys { OPTION_ENABLE_ABR, OPTION_ALLOW_REMOVE_WALLPAPER, OPTION_ALLOW_ALWAYS_SOFTWARE_RENDER, - OPTION_ALLOW_LINUX_HEADLESS, OPTION_ENABLE_HWCODEC, OPTION_APPROVE_MODE, OPTION_VERIFICATION_METHOD,