global-shortcut@2.0.0-beta.3
May 1, 2024
-
a04ea2f(#1071) The global API script is now only added to the binary when thewithGlobalTauriconfig is true. -
62dafda(#969) Breaking change Refactored the plugin Rust APIs for better DX and flexibility:- Changed
Builder::with_handlerto be a method instead of a static method, it will also be triggered for any and all shortcuts even if the shortcut is registered through JS. - Added
Builder::with_shortcutandBuilder::with_shortcutsto register shortcuts on the plugin builder. - Added
on_shortcutandon_all_shortcutsto register shortcuts with a handler.
- Changed
© 2026 Tauri Contributors. CC-BY / MIT