pynput run as user

This commit is contained in:
rustdesk
2022-03-08 15:42:58 +08:00
parent 6c5b7b3b89
commit ffb0fa4349
5 changed files with 30 additions and 8 deletions

View File

@@ -243,7 +243,7 @@ pub fn start_os_service() {
log::info!("Exit");
}
fn get_active_userid() -> String {
pub fn get_active_userid() -> String {
get_value_of_seat0(1)
}