mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-04 16:35:19 +00:00
fix ci
This commit is contained in:
1 parent
cd78fa9762
commit
9102b6e6b8
1 file changed
+2
-2
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user