mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
This commit is contained in:
@@ -1891,7 +1891,7 @@ pub fn main_is_login_wayland() -> SyncReturn<bool> {
|
||||
SyncReturn(is_login_wayland())
|
||||
}
|
||||
|
||||
pub fn main_hide_docker() -> SyncReturn<bool> {
|
||||
pub fn main_hide_dock() -> SyncReturn<bool> {
|
||||
#[cfg(target_os = "macos")]
|
||||
crate::platform::macos::hide_dock();
|
||||
SyncReturn(true)
|
||||
|
||||
@@ -493,7 +493,6 @@ pub fn lock_screen() {
|
||||
}
|
||||
|
||||
pub fn start_os_service() {
|
||||
crate::platform::macos::hide_dock();
|
||||
log::info!("Username: {}", crate::username());
|
||||
let mut sys = System::new();
|
||||
let path =
|
||||
|
||||
@@ -12,7 +12,6 @@ pub fn start_tray() {
|
||||
if crate::ui_interface::get_builtin_option(hbb_common::config::keys::OPTION_HIDE_TRAY) == "Y" {
|
||||
#[cfg(target_os = "macos")]
|
||||
{
|
||||
crate::platform::macos::hide_dock();
|
||||
loop {
|
||||
std::thread::sleep(std::time::Duration::from_secs(1));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user