Merge pull request #584 from fufesou/refact/remove-linux-headless

refact: remove linux headless
This commit is contained in:
RustDesk
2026-08-14 21:18:07 +08:00
committed by GitHub
-5
View File
@@ -99,14 +99,11 @@ lazy_static::lazy_static! {
pub const LINK_DOCS_HOME: &str = "https://rustdesk.com/docs/en/"; 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_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! { lazy_static::lazy_static! {
pub static ref HELPER_URL: HashMap<&'static str, &'static str> = HashMap::from([ pub static ref HELPER_URL: HashMap<&'static str, &'static str> = HashMap::from([
("rustdesk docs home", LINK_DOCS_HOME), ("rustdesk docs home", LINK_DOCS_HOME),
("rustdesk docs x11-required", LINK_DOCS_X11_REQUIRED), ("rustdesk docs x11-required", LINK_DOCS_X11_REQUIRED),
("rustdesk x11 headless", LINK_HEADLESS_LINUX_SUPPORT),
]); ]);
} }
@@ -2934,7 +2931,6 @@ pub mod keys {
pub const OPTION_ENABLE_ABR: &str = "enable-abr"; pub const OPTION_ENABLE_ABR: &str = "enable-abr";
pub const OPTION_ALLOW_REMOVE_WALLPAPER: &str = "allow-remove-wallpaper"; 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_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_ENABLE_HWCODEC: &str = "enable-hwcodec";
pub const OPTION_APPROVE_MODE: &str = "approve-mode"; pub const OPTION_APPROVE_MODE: &str = "approve-mode";
pub const OPTION_VERIFICATION_METHOD: &str = "verification-method"; pub const OPTION_VERIFICATION_METHOD: &str = "verification-method";
@@ -3168,7 +3164,6 @@ pub mod keys {
OPTION_ENABLE_ABR, OPTION_ENABLE_ABR,
OPTION_ALLOW_REMOVE_WALLPAPER, OPTION_ALLOW_REMOVE_WALLPAPER,
OPTION_ALLOW_ALWAYS_SOFTWARE_RENDER, OPTION_ALLOW_ALWAYS_SOFTWARE_RENDER,
OPTION_ALLOW_LINUX_HEADLESS,
OPTION_ENABLE_HWCODEC, OPTION_ENABLE_HWCODEC,
OPTION_APPROVE_MODE, OPTION_APPROVE_MODE,
OPTION_VERIFICATION_METHOD, OPTION_VERIFICATION_METHOD,