mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 02:57:22 +00:00
Merge pull request #538 from jkhsjdhjs/master
enigo: check /usr/lib/rustdesk for pynput_service.py
This commit is contained in:
@@ -489,7 +489,10 @@ fn start_pynput_service(rx: mpsc::Receiver<(PyMsg, bool)>) {
|
|||||||
if !std::path::Path::new(&py).exists() {
|
if !std::path::Path::new(&py).exists() {
|
||||||
py = "/usr/share/rustdesk/files/pynput_service.py".to_owned();
|
py = "/usr/share/rustdesk/files/pynput_service.py".to_owned();
|
||||||
if !std::path::Path::new(&py).exists() {
|
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);
|
log::info!("pynput service: {}", py);
|
||||||
|
|||||||
Reference in New Issue
Block a user