mirror of
https://github.com/rustdesk/rustdesk
synced 2026-05-06 06:48:20 +00:00
enigo: check /usr/lib/rustdesk for pynput_service.py
This commit is contained in:
parent
d7aac26356
commit
368af127df
1 changed files with 4 additions and 1 deletions
|
|
@ -489,7 +489,10 @@ fn start_pynput_service(rx: mpsc::Receiver<(PyMsg, bool)>) {
|
|||
if !std::path::Path::new(&py).exists() {
|
||||
py = "/usr/share/rustdesk/files/pynput_service.py".to_owned();
|
||||
if !std::path::Path::new(&py).exists() {
|
||||
log::error!("{} not exits", py);
|
||||
py = "/usr/lib/rustdesk/pynput_service.py".to_owned();
|
||||
if !std::path::Path::new(&py).exists() {
|
||||
log::error!("{} not exits", py);
|
||||
}
|
||||
}
|
||||
}
|
||||
log::info!("pynput service: {}", py);
|
||||
|
|
|
|||
Loading…
Reference in a new issue