mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-02 20:10:37 +02:00
feat: update to tauri beta.24 (#1537)
* feat: update to tauri beta.24 * remove .tauri * pnpm build
This commit is contained in:
@@ -23,6 +23,6 @@
|
||||
"LICENSE"
|
||||
],
|
||||
"dependencies": {
|
||||
"@tauri-apps/api": "2.0.0-beta.14"
|
||||
"@tauri-apps/api": "2.0.0-beta.15"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
## Default Permission
|
||||
|
||||
No features are enabled by default, as we believe
|
||||
the shortcuts can be inherently dangerous and it is
|
||||
the shortcuts can be inherently dangerous and it is
|
||||
application specific if specific shortcuts should be
|
||||
registered or unregistered.
|
||||
|
||||
|
||||
@@ -365,7 +365,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "default -> No features are enabled by default, as we believe\nthe shortcuts can be inherently dangerous and it is \napplication specific if specific shortcuts should be\nregistered or unregistered.\n",
|
||||
"description": "default -> No features are enabled by default, as we believe\nthe shortcuts can be inherently dangerous and it is\napplication specific if specific shortcuts should be\nregistered or unregistered.\n",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"default"
|
||||
|
||||
@@ -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