feat: update to tauri beta.24 (#1537)

* feat: update to tauri beta.24

* remove .tauri

* pnpm build
This commit is contained in:
Lucas Fernandes Nogueira
2024-07-12 17:59:17 -03:00
committed by GitHub
parent 9973f8ee83
commit 22a17980ff
70 changed files with 1363 additions and 533 deletions
+2 -2
View File
@@ -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();