mirror of
https://github.com/0PandaDEV/Qopy.git
synced 2025-04-22 05:34:04 +02:00
added ability to set custom hotkey
This commit is contained in:
parent
79dd783bf7
commit
5bb6f2249a
8 changed files with 250 additions and 205 deletions
|
@ -31,7 +31,7 @@ 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)?;
|
||||
let _ = api::database::setup(app);
|
||||
|
@ -74,8 +74,6 @@ 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::database::save_keybind,
|
||||
api::database::get_keybind
|
||||
])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue