mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-05 08:37:15 +00:00
Add user and root config sync action
This commit is contained in:
1 parent
81e43c2970
commit
f45a2c7a94
7 files changed
+319
-4
No files matched your search
@@ -333,3 +333,11 @@ pub fn block_input(_v: bool) {
|
||||
pub fn is_installed() -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
pub fn start_daemon(){
|
||||
log::info!("{}",crate::username());
|
||||
if let Err(err) = crate::ipc::start("_daemon") {
|
||||
log::error!("Failed to start ipc_daemon: {}", err);
|
||||
std::process::exit(-1);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user