mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-07-30 17:48:50 +02:00
feat: update to tauri beta.24 (#1537)
* feat: update to tauri beta.24 * remove .tauri * pnpm build
This commit is contained in:
@@ -244,7 +244,7 @@ where
|
||||
.map_err(|e| Error::GlobalHotkey(e.to_string()))
|
||||
}
|
||||
|
||||
#[derive(Serialize)]
|
||||
#[derive(Clone, Serialize)]
|
||||
struct ShortcutJsEvent {
|
||||
shortcut: String,
|
||||
id: u32,
|
||||
@@ -256,7 +256,7 @@ fn register<R: Runtime>(
|
||||
_app: AppHandle<R>,
|
||||
global_shortcut: State<'_, GlobalShortcut<R>>,
|
||||
shortcuts: Vec<String>,
|
||||
handler: Channel,
|
||||
handler: Channel<ShortcutJsEvent>,
|
||||
) -> Result<()> {
|
||||
let mut hotkeys = Vec::new();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user