Update to tauri v2

This commit is contained in:
Nicola Spadari
2024-06-16 02:29:59 +02:00
parent 93877e5f1f
commit 7b71c8bca9
14 changed files with 6114 additions and 1269 deletions

View File

@@ -0,0 +1,32 @@
{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "main",
"description": "Capabilities for the main window",
"windows": [
"main"
],
"permissions": [
"path:default",
"event:default",
"window:default",
"app:default",
"resources:default",
"menu:default",
{
"identifier": "shell:allow-execute",
"allow": [
{
"name": "exec-sh",
"cmd": "sh",
"args": [
"-c",
{
"validator": "\\S+"
}
],
"sidecar": false
}
]
}
]
}