feat: update to tauri beta, add permissions (#862)

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev>
This commit is contained in:
Tillmann
2024-02-04 03:14:41 +09:00
committed by GitHub
parent 506ce4835b
commit d198c01486
387 changed files with 21883 additions and 943 deletions
@@ -0,0 +1 @@
schemas/
@@ -0,0 +1 @@
schemas/
@@ -0,0 +1,13 @@
# Automatically generated - DO NOT EDIT!
"$schema" = "../../schemas/schema.json"
[[permission]]
identifier = "allow-is-permission-granted"
description = "Enables the is_permission_granted command without any pre-configured scope."
commands.allow = ["is_permission_granted"]
[[permission]]
identifier = "deny-is-permission-granted"
description = "Denies the is_permission_granted command without any pre-configured scope."
commands.deny = ["is_permission_granted"]
@@ -0,0 +1,13 @@
# Automatically generated - DO NOT EDIT!
"$schema" = "../../schemas/schema.json"
[[permission]]
identifier = "allow-notify"
description = "Enables the notify command without any pre-configured scope."
commands.allow = ["notify"]
[[permission]]
identifier = "deny-notify"
description = "Denies the notify command without any pre-configured scope."
commands.deny = ["notify"]
@@ -0,0 +1,13 @@
# Automatically generated - DO NOT EDIT!
"$schema" = "../../schemas/schema.json"
[[permission]]
identifier = "allow-request-permission"
description = "Enables the request_permission command without any pre-configured scope."
commands.allow = ["request_permission"]
[[permission]]
identifier = "deny-request-permission"
description = "Denies the request_permission command without any pre-configured scope."
commands.deny = ["request_permission"]
@@ -0,0 +1,30 @@
# Permissions
## allow-is-permission-granted
Enables the is_permission_granted command without any pre-configured scope.
## deny-is-permission-granted
Denies the is_permission_granted command without any pre-configured scope.
## allow-notify
Enables the notify command without any pre-configured scope.
## deny-notify
Denies the notify command without any pre-configured scope.
## allow-request-permission
Enables the request_permission command without any pre-configured scope.
## deny-request-permission
Denies the request_permission command without any pre-configured scope.
## default
Allows requesting permission, checking permission state and sending notifications
@@ -0,0 +1,8 @@
"$schema" = "schemas/schema.json"
[default]
description = "Allows requesting permission, checking permission state and sending notifications"
permissions = [
"allow-is-permission-granted",
"allow-request-permission",
"allow-notify",
]