mirror of
https://github.com/rustdesk/hbb_common.git
synced 2026-02-16 02:20:43 +00:00
Refact: Remove unused code to avoid confusion.
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
@@ -90,15 +90,12 @@ 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 =
|
pub const LINK_HEADLESS_LINUX_SUPPORT: &str =
|
||||||
"https://github.com/rustdesk/rustdesk/wiki/Headless-Linux-Support";
|
"https://github.com/rustdesk/rustdesk/wiki/Headless-Linux-Support";
|
||||||
pub const LINK_KDE_PLASMA_WAYLAND_SELECT_ALL_DISPLAYS: &str =
|
|
||||||
"https://github.com/rustdesk/rustdesk/discussions/13468";
|
|
||||||
|
|
||||||
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),
|
("rustdesk x11 headless", LINK_HEADLESS_LINUX_SUPPORT),
|
||||||
("rustdesk discussion Plasma Wayland all displays", LINK_KDE_PLASMA_WAYLAND_SELECT_ALL_DISPLAYS),
|
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user