comment for another service implementation
This commit is contained in:
parent
36607bf8b0
commit
e66ccdca9d
@ -424,10 +424,12 @@ pub fn start_os_service() {
|
||||
log::error!("Failed to start ipc_service: {}", err);
|
||||
}
|
||||
|
||||
/* // somehow, below works fine if user logged in, but mouse/keyboard not work under prelogin.
|
||||
// one solution to run --server as agent in prelogin,
|
||||
// and run --server under --service via run_as_user if not in prelogin
|
||||
// so that no multiple --server if multiple logged-in users
|
||||
/* // mouse/keyboard works in prelogin now with launchctl asuser.
|
||||
// below can avoid multi-users logged in problem, but having its own below problem.
|
||||
// Not find a good way to start --cm without root privilege (affect file transfer).
|
||||
// one way is to start with `launchctl asuser <uid> open -n -a /Applications/RustDesk.app/ --args --cm`,
|
||||
// this way --cm is started with the user privilege, but we will have problem to start another RustDesk.app
|
||||
// with open in explorer.
|
||||
use std::sync::{
|
||||
atomic::{AtomicBool, Ordering},
|
||||
Arc,
|
||||
|
Loading…
x
Reference in New Issue
Block a user