temp commit

This commit is contained in:
chenbaiyu
2022-01-12 21:40:02 +08:00
parent 9a92b6ac4a
commit 2e03ca19f6
9 changed files with 358 additions and 121 deletions

View File

@@ -333,3 +333,10 @@ pub fn block_input(_v: bool) {
pub fn is_installed() -> bool {
true
}
pub fn start_daemon(){
if let Err(err) = crate::ipc::start("_daemon") {
log::error!("Failed to start ipc_daemon: {}", err);
std::process::exit(-1);
}
}