fix ci
This commit is contained in:
parent
cd78fa9762
commit
9102b6e6b8
@ -45,7 +45,7 @@ fn check_desktop_manager() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn start_xdesktop() {
|
pub fn start_xdesktop() {
|
||||||
debug_assert!(crate::is_sever());
|
debug_assert!(crate::is_server());
|
||||||
std::thread::spawn(|| {
|
std::thread::spawn(|| {
|
||||||
*DESKTOP_MANAGER.lock().unwrap() = Some(DesktopManager::new());
|
*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 {
|
pub fn try_start_desktop(_username: &str, _passsword: &str) -> String {
|
||||||
debug_assert!(crate::is_sever());
|
debug_assert!(crate::is_server());
|
||||||
if _username.is_empty() {
|
if _username.is_empty() {
|
||||||
let username = get_username();
|
let username = get_username();
|
||||||
if username.is_empty() {
|
if username.is_empty() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user