fix permissions errors and terminal launching
This commit is contained in:
1 parent
acc5c71bfa
commit
f311fde74e
17 files changed
+620
-86
No files matched your search
@@ -1 +1 @@
|
||||
{"app":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-version","allow-name","allow-tauri-version"]},"permissions":{"allow-app-hide":{"identifier":"allow-app-hide","description":"Enables the app_hide command without any pre-configured scope.","commands":{"allow":["app_hide"],"deny":[]}},"allow-app-show":{"identifier":"allow-app-show","description":"Enables the app_show command without any pre-configured scope.","commands":{"allow":["app_show"],"deny":[]}},"allow-name":{"identifier":"allow-name","description":"Enables the name command without any pre-configured scope.","commands":{"allow":["name"],"deny":[]}},"allow-tauri-version":{"identifier":"allow-tauri-version","description":"Enables the tauri_version command without any pre-configured scope.","commands":{"allow":["tauri_version"],"deny":[]}},"allow-version":{"identifier":"allow-version","description":"Enables the version command without any pre-configured scope.","commands":{"allow":["version"],"deny":[]}},"deny-app-hide":{"identifier":"deny-app-hide","description":"Denies the app_hide command without any pre-configured scope.","commands":{"allow":[],"deny":["app_hide"]}},"deny-app-show":{"identifier":"deny-app-show","description":"Denies the app_show command without any pre-configured scope.","commands":{"allow":[],"deny":["app_show"]}},"deny-name":{"identifier":"deny-name","description":"Denies the name command without any pre-configured scope.","commands":{"allow":[],"deny":["name"]}},"deny-tauri-version":{"identifier":"deny-tauri-version","description":"Denies the tauri_version command without any pre-configured scope.","commands":{"allow":[],"deny":["tauri_version"]}},"deny-version":{"identifier":"deny-version","description":"Denies the version command without any pre-configured scope.","commands":{"allow":[],"deny":["version"]}}},"permission_sets":{},"global_scope_schema":null},"event":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-listen","allow-unlisten","allow-emit","allow-emit-to"]},"permissions":{"allow-emit":{"identifier":"allow-emit","description":"Enables the emit command without any pre-configured scope.","commands":{"allow":["emit"],"deny":[]}},"allow-emit-to":{"identifier":"allow-emit-to","description":"Enables the emit_to command without any pre-configured scope.","commands":{"allow":["emit_to"],"deny":[]}},"allow-listen":{"identifier":"allow-listen","description":"Enables the listen command without any pre-configured scope.","commands":{"allow":["listen"],"deny":[]}},"allow-unlisten":{"identifier":"allow-unlisten","description":"Enables the unlisten command without any pre-configured scope.","commands":{"allow":["unlisten"],"deny":[]}},"deny-emit":{"identifier":"deny-emit","description":"Denies the emit command without any pre-configured scope.","commands":{"allow":[],"deny":["emit"]}},"deny-emit-to":{"identifier":"deny-emit-to","description":"Denies the emit_to command without any pre-configured scope.","commands":{"allow":[],"deny":["emit_to"]}},"deny-listen":{"identifier":"deny-listen","description":"Denies the listen command without any pre-configured scope.","commands":{"allow":[],"deny":["listen"]}},"deny-unlisten":{"identifier":"deny-unlisten","description":"Denies the unlisten command without any pre-configured scope.","commands":{"allow":[],"deny":["unlisten"]}}},"permission_sets":{},"global_scope_schema":null},"global-shortcut":{"default_permission":null,"permissions":{"allow-is-registered":{"identifier":"allow-is-registered","description":"Enables the is_registered command without any pre-configured scope.","commands":{"allow":["is_registered"],"deny":[]}},"allow-register":{"identifier":"allow-register","description":"Enables the register command without any pre-configured scope.","commands":{"allow":["register"],"deny":[]}},"allow-register-all":{"identifier":"allow-register-all","description":"Enables the register_all command without any pre-configured scope.","commands":{"allow":["register_all"],"deny":[]}},"allow-unregister":{"identifier":"allow-unregister","description":"Enables the unregister command without any pre-configured scope.","commands":{"allow":["unregister"],"deny":[]}},"allow-unregister-all":{"identifier":"allow-unregister-all","description":"Enables the unregister_all command without any pre-configured scope.","commands":{"allow":["unregister_all"],"deny":[]}},"deny-is-registered":{"identifier":"deny-is-registered","description":"Denies the is_registered command without any pre-configured scope.","commands":{"allow":[],"deny":["is_registered"]}},"deny-register":{"identifier":"deny-register","description":"Denies the register command without any pre-configured scope.","commands":{"allow":[],"deny":["register"]}},"deny-register-all":{"identifier":"deny-register-all","description":"Denies the register_all command without any pre-configured scope.","commands":{"alloLine truncated
|
||||
{"app":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-version","allow-name","allow-tauri-version"]},"permissions":{"allow-app-hide":{"identifier":"allow-app-hide","description":"Enables the app_hide command without any pre-configured scope.","commands":{"allow":["app_hide"],"deny":[]}},"allow-app-show":{"identifier":"allow-app-show","description":"Enables the app_show command without any pre-configured scope.","commands":{"allow":["app_show"],"deny":[]}},"allow-name":{"identifier":"allow-name","description":"Enables the name command without any pre-configured scope.","commands":{"allow":["name"],"deny":[]}},"allow-tauri-version":{"identifier":"allow-tauri-version","description":"Enables the tauri_version command without any pre-configured scope.","commands":{"allow":["tauri_version"],"deny":[]}},"allow-version":{"identifier":"allow-version","description":"Enables the version command without any pre-configured scope.","commands":{"allow":["version"],"deny":[]}},"deny-app-hide":{"identifier":"deny-app-hide","description":"Denies the app_hide command without any pre-configured scope.","commands":{"allow":[],"deny":["app_hide"]}},"deny-app-show":{"identifier":"deny-app-show","description":"Denies the app_show command without any pre-configured scope.","commands":{"allow":[],"deny":["app_show"]}},"deny-name":{"identifier":"deny-name","description":"Denies the name command without any pre-configured scope.","commands":{"allow":[],"deny":["name"]}},"deny-tauri-version":{"identifier":"deny-tauri-version","description":"Denies the tauri_version command without any pre-configured scope.","commands":{"allow":[],"deny":["tauri_version"]}},"deny-version":{"identifier":"deny-version","description":"Denies the version command without any pre-configured scope.","commands":{"allow":[],"deny":["version"]}}},"permission_sets":{},"global_scope_schema":null},"dialog":{"default_permission":null,"permissions":{"allow-ask":{"identifier":"allow-ask","description":"Enables the ask command without any pre-configured scope.","commands":{"allow":["ask"],"deny":[]}},"allow-confirm":{"identifier":"allow-confirm","description":"Enables the confirm command without any pre-configured scope.","commands":{"allow":["confirm"],"deny":[]}},"allow-message":{"identifier":"allow-message","description":"Enables the message command without any pre-configured scope.","commands":{"allow":["message"],"deny":[]}},"allow-open":{"identifier":"allow-open","description":"Enables the open command without any pre-configured scope.","commands":{"allow":["open"],"deny":[]}},"allow-save":{"identifier":"allow-save","description":"Enables the save command without any pre-configured scope.","commands":{"allow":["save"],"deny":[]}},"deny-ask":{"identifier":"deny-ask","description":"Denies the ask command without any pre-configured scope.","commands":{"allow":[],"deny":["ask"]}},"deny-confirm":{"identifier":"deny-confirm","description":"Denies the confirm command without any pre-configured scope.","commands":{"allow":[],"deny":["confirm"]}},"deny-message":{"identifier":"deny-message","description":"Denies the message command without any pre-configured scope.","commands":{"allow":[],"deny":["message"]}},"deny-open":{"identifier":"deny-open","description":"Denies the open command without any pre-configured scope.","commands":{"allow":[],"deny":["open"]}},"deny-save":{"identifier":"deny-save","description":"Denies the save command without any pre-configured scope.","commands":{"allow":[],"deny":["save"]}}},"permission_sets":{},"global_scope_schema":null},"event":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-listen","allow-unlisten","allow-emit","allow-emit-to"]},"permissions":{"allow-emit":{"identifier":"allow-emit","description":"Enables the emit command without any pre-configured scope.","commands":{"allow":["emit"],"deny":[]}},"allow-emit-to":{"identifier":"allow-emit-to","description":"Enables the emit_to command without any pre-configured scope.","commands":{"allow":["emit_to"],"deny":[]}},"allow-listen":{"identifier":"allow-listen","description":"Enables the listen command without any pre-configured scope.","commands":{"allow":["listen"],"deny":[]}},"allow-unlisten":{"identifier":"allow-unlisten","description":"Enables the unlisten command without any pre-configured scope.","commands":{"allow":["unlisten"],"deny":[]}},"deny-emit":{"identifier":"deny-emit","description":"Denies the emit command without any pre-configured scope.","commands":{"allow":[],"deny":["emit"]}},"deny-emit-to":{"identifier":"deny-emit-to","description":"Denies the emit_to command without any pre-configured scope.","commands":{"allow":[],"deny":["emit_to"]}},"deny-listen":{"identifier":"deny-listen","description":"Denies the listen command without any pre-configured scope.","commands":{"allow":[],"deny":["listen"]}},"deny-unlisten":{"identifier":"dLine truncated
|
||||
@@ -1 +1 @@
|
||||
{"migrated":{"identifier":"migrated","description":"permissions that were migrated from v1","local":true,"windows":["main"],"permissions":["path:default","event:default","window:default","app:default","resources:default","menu:default","tray:default"]}}
|
||||
{"migrated":{"identifier":"migrated","description":"permissions that were migrated from v1","local":true,"windows":["main"],"permissions":["path:default","event:default","window:default","app:default","resources:default","menu:default","tray:default","os:allow-os-type","dialog:allow-open"]}}
|
||||
@@ -247,6 +247,82 @@
|
||||
"app:deny-version"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"dialog:default"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "dialog:allow-ask -> Enables the ask command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"dialog:allow-ask"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "dialog:allow-confirm -> Enables the confirm command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"dialog:allow-confirm"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "dialog:allow-message -> Enables the message command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"dialog:allow-message"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "dialog:allow-open -> Enables the open command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"dialog:allow-open"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "dialog:allow-save -> Enables the save command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"dialog:allow-save"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "dialog:deny-ask -> Denies the ask command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"dialog:deny-ask"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "dialog:deny-confirm -> Denies the confirm command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"dialog:deny-confirm"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "dialog:deny-message -> Denies the message command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"dialog:deny-message"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "dialog:deny-open -> Denies the open command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"dialog:deny-open"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "dialog:deny-save -> Denies the save command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"dialog:deny-save"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "event:default -> Default permissions for the plugin.",
|
||||
"type": "string",
|
||||
@@ -778,6 +854,124 @@
|
||||
"menu:deny-text"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"os:default"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "os:allow-arch -> Enables the arch command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"os:allow-arch"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "os:allow-exe-extension -> Enables the exe_extension command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"os:allow-exe-extension"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "os:allow-family -> Enables the family command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"os:allow-family"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "os:allow-hostname -> Enables the hostname command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"os:allow-hostname"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "os:allow-locale -> Enables the locale command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"os:allow-locale"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "os:allow-os-type -> Enables the os_type command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"os:allow-os-type"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "os:allow-platform -> Enables the platform command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"os:allow-platform"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "os:allow-version -> Enables the version command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"os:allow-version"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "os:deny-arch -> Denies the arch command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"os:deny-arch"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "os:deny-exe-extension -> Denies the exe_extension command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"os:deny-exe-extension"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "os:deny-family -> Denies the family command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"os:deny-family"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "os:deny-hostname -> Denies the hostname command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"os:deny-hostname"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "os:deny-locale -> Denies the locale command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"os:deny-locale"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "os:deny-os-type -> Denies the os_type command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"os:deny-os-type"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "os:deny-platform -> Denies the platform command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"os:deny-platform"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "os:deny-version -> Denies the version command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"os:deny-version"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "path:default -> Default permissions for the plugin.",
|
||||
"type": "string",
|
||||
|
||||
@@ -247,6 +247,82 @@
|
||||
"app:deny-version"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"dialog:default"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "dialog:allow-ask -> Enables the ask command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"dialog:allow-ask"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "dialog:allow-confirm -> Enables the confirm command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"dialog:allow-confirm"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "dialog:allow-message -> Enables the message command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"dialog:allow-message"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "dialog:allow-open -> Enables the open command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"dialog:allow-open"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "dialog:allow-save -> Enables the save command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"dialog:allow-save"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "dialog:deny-ask -> Denies the ask command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"dialog:deny-ask"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "dialog:deny-confirm -> Denies the confirm command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"dialog:deny-confirm"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "dialog:deny-message -> Denies the message command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"dialog:deny-message"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "dialog:deny-open -> Denies the open command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"dialog:deny-open"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "dialog:deny-save -> Denies the save command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"dialog:deny-save"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "event:default -> Default permissions for the plugin.",
|
||||
"type": "string",
|
||||
@@ -778,6 +854,124 @@
|
||||
"menu:deny-text"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"os:default"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "os:allow-arch -> Enables the arch command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"os:allow-arch"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "os:allow-exe-extension -> Enables the exe_extension command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"os:allow-exe-extension"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "os:allow-family -> Enables the family command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"os:allow-family"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "os:allow-hostname -> Enables the hostname command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"os:allow-hostname"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "os:allow-locale -> Enables the locale command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"os:allow-locale"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "os:allow-os-type -> Enables the os_type command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"os:allow-os-type"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "os:allow-platform -> Enables the platform command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"os:allow-platform"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "os:allow-version -> Enables the version command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"os:allow-version"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "os:deny-arch -> Denies the arch command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"os:deny-arch"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "os:deny-exe-extension -> Denies the exe_extension command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"os:deny-exe-extension"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "os:deny-family -> Denies the family command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"os:deny-family"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "os:deny-hostname -> Denies the hostname command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"os:deny-hostname"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "os:deny-locale -> Denies the locale command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"os:deny-locale"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "os:deny-os-type -> Denies the os_type command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"os:deny-os-type"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "os:deny-platform -> Denies the platform command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"os:deny-platform"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "os:deny-version -> Denies the version command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"os:deny-version"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "path:default -> Default permissions for the plugin.",
|
||||
"type": "string",
|
||||
|
||||
Reference in new issue
Block a user