🐛 修复一些bug

*修复窗口`destory`失败
*修复`miyoushe`域名不识别
*修复子窗口权限报错
This commit is contained in:
目棃
2024-08-27 22:37:47 +08:00
parent 1cd6c3c42d
commit 021a141546
10 changed files with 118 additions and 35 deletions

View File

@@ -701,6 +701,7 @@
"identifier": "default",
"description": "Default permissions for the plugin.",
"permissions": [
"allow-get-all-webviews",
"allow-webview-position",
"allow-webview-size",
"allow-internal-toggle-devtools"
@@ -717,6 +718,11 @@
"description": "Enables the create_webview_window command without any pre-configured scope.",
"commands": { "allow": ["create_webview_window"], "deny": [] }
},
"allow-get-all-webviews": {
"identifier": "allow-get-all-webviews",
"description": "Enables the get_all_webviews command without any pre-configured scope.",
"commands": { "allow": ["get_all_webviews"], "deny": [] }
},
"allow-internal-toggle-devtools": {
"identifier": "allow-internal-toggle-devtools",
"description": "Enables the internal_toggle_devtools command without any pre-configured scope.",
@@ -777,6 +783,11 @@
"description": "Denies the create_webview_window command without any pre-configured scope.",
"commands": { "allow": [], "deny": ["create_webview_window"] }
},
"deny-get-all-webviews": {
"identifier": "deny-get-all-webviews",
"description": "Denies the get_all_webviews command without any pre-configured scope.",
"commands": { "allow": [], "deny": ["get_all_webviews"] }
},
"deny-internal-toggle-devtools": {
"identifier": "deny-internal-toggle-devtools",
"description": "Denies the internal_toggle_devtools command without any pre-configured scope.",
@@ -836,6 +847,7 @@
"identifier": "default",
"description": "Default permissions for the plugin.",
"permissions": [
"allow-get-all-windows",
"allow-scale-factor",
"allow-inner-position",
"allow-outer-position",
@@ -897,6 +909,11 @@
"description": "Enables the destroy command without any pre-configured scope.",
"commands": { "allow": ["destroy"], "deny": [] }
},
"allow-get-all-windows": {
"identifier": "allow-get-all-windows",
"description": "Enables the get_all_windows command without any pre-configured scope.",
"commands": { "allow": ["get_all_windows"], "deny": [] }
},
"allow-hide": {
"identifier": "allow-hide",
"description": "Enables the hide command without any pre-configured scope.",
@@ -1222,6 +1239,11 @@
"description": "Denies the destroy command without any pre-configured scope.",
"commands": { "allow": [], "deny": ["destroy"] }
},
"deny-get-all-windows": {
"identifier": "deny-get-all-windows",
"description": "Denies the get_all_windows command without any pre-configured scope.",
"commands": { "allow": [], "deny": ["get_all_windows"] }
},
"deny-hide": {
"identifier": "deny-hide",
"description": "Denies the hide command without any pre-configured scope.",