mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-01-19 16:33:01 +08:00
fix ci
This commit is contained in:
parent
cd78fa9762
commit
9102b6e6b8
@ -45,7 +45,7 @@ fn check_desktop_manager() {
|
||||
}
|
||||
|
||||
pub fn start_xdesktop() {
|
||||
debug_assert!(crate::is_sever());
|
||||
debug_assert!(crate::is_server());
|
||||
std::thread::spawn(|| {
|
||||
*DESKTOP_MANAGER.lock().unwrap() = Some(DesktopManager::new());
|
||||
|
||||
@ -91,7 +91,7 @@ fn detect_headless() -> Option<&'static str> {
|
||||
}
|
||||
|
||||
pub fn try_start_desktop(_username: &str, _passsword: &str) -> String {
|
||||
debug_assert!(crate::is_sever());
|
||||
debug_assert!(crate::is_server());
|
||||
if _username.is_empty() {
|
||||
let username = get_username();
|
||||
if username.is_empty() {
|
||||
|
Loading…
Reference in New Issue
Block a user