chore: try to fix service not started on linux

This commit is contained in:
huzibaca
2024-10-20 04:48:42 +08:00
parent a013fe663c
commit 8389826e30
12 changed files with 396 additions and 54 deletions
+1 -1
View File
@@ -161,7 +161,7 @@ impl Drop for Hotkey {
fn drop(&mut self) {
let app_handle = handle::Handle::global().app_handle().unwrap();
if let Err(e) = app_handle.global_shortcut().unregister_all() {
log::error!("Error unregistering all hotkeys: {:?}", e);
log::error!(target:"app", "Error unregistering all hotkeys: {:?}", e);
}
}
}