mirror of
https://github.com/0PandaDEV/Qopy.git
synced 2025-04-22 05:34:04 +02:00
change keybind test
This commit is contained in:
parent
0b077a9b2e
commit
ebf6e0311f
8 changed files with 780 additions and 531 deletions
|
@ -30,8 +30,8 @@ fn main() {
|
|||
)
|
||||
.setup(|app| {
|
||||
let app_handle = app.handle().clone();
|
||||
|
||||
#[cfg(not(target_os = "macos"))]
|
||||
|
||||
// #[cfg(not(target_os = "macos"))]
|
||||
api::hotkeys::setup(app_handle.clone());
|
||||
api::tray::setup(app)?;
|
||||
api::database::setup(app)?;
|
||||
|
@ -74,6 +74,10 @@ fn main() {
|
|||
api::clipboard::get_image_path,
|
||||
api::clipboard::write_and_paste,
|
||||
api::clipboard::read_image,
|
||||
api::hotkeys::start_keybind_capture,
|
||||
api::hotkeys::stop_keybind_capture,
|
||||
api::hotkeys::get_current_keybind,
|
||||
api::hotkeys::save_keybind,
|
||||
])
|
||||
.run(tauri::generate_context!())
|
||||
.expect("error while running tauri application");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue