Add daemon discovery check
Signed-off-by: trivernis <trivernis@protonmail.com>pull/4/head
parent
faa7b4e17c
commit
ce516ca498
@ -1,2 +1,9 @@
|
||||
use pathsearch::find_executable_in_path;
|
||||
use std::path::PathBuf;
|
||||
|
||||
pub mod cli;
|
||||
pub mod error;
|
||||
|
||||
pub fn find_daemon_executable() -> Option<PathBuf> {
|
||||
find_executable_in_path("mediarepo-daemon")
|
||||
}
|
||||
|
Loading…
Reference in New Issue