remove is_rdp_service_open judgement for option share rdp (#7257)

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2024-02-25 20:09:30 +08:00
committed by GitHub
parent 4c8c2aa323
commit b511a52e09
6 changed files with 7 additions and 21 deletions

View File

@@ -425,14 +425,6 @@ pub fn is_installed() -> bool {
false
}
#[inline]
pub fn is_rdp_service_open() -> bool {
#[cfg(windows)]
return is_installed() && crate::platform::windows::is_rdp_service_open();
#[cfg(not(windows))]
return false;
}
#[inline]
pub fn is_share_rdp() -> bool {
#[cfg(windows)]