fixed state/manage issues

This commit is contained in:
PandaDEV 2024-09-02 21:28:10 +10:00
parent 78235f0e3d
commit 59d31ce5d9
No known key found for this signature in database
GPG key ID: 13EFF9BAF70EE75C
3 changed files with 5 additions and 7 deletions

View file

@ -31,10 +31,9 @@ fn main() {
.setup(|app| {
let app_handle = app.handle().clone();
// #[cfg(not(target_os = "macos"))]
let _ = api::database::setup(app);
api::hotkeys::setup(app_handle.clone());
api::tray::setup(app)?;
let _ = api::database::setup(app);
api::clipboard::setup(app.handle());
let _ = api::clipboard::start_monitor(app_handle.clone());