diff --git a/src-tauri/capabilities/SubWindow.json b/src-tauri/capabilities/SubWindow.json index b28c6d1c..c61dcf27 100644 --- a/src-tauri/capabilities/SubWindow.json +++ b/src-tauri/capabilities/SubWindow.json @@ -40,6 +40,7 @@ { "identifier": "fs:allow-write-file", "allow": [{ "path": "**" }] }, { "identifier": "fs:allow-write-text-file", "allow": [{ "path": "**" }] }, { "identifier": "opener:allow-open-path", "allow": [{ "path": "**" }] }, + { "identifier": "opener:allow-open-url", "allow": [{ "url": "**" }] }, { "identifier": "http:default", "allow": [ diff --git a/src-tauri/capabilities/TeyvatGuide.json b/src-tauri/capabilities/TeyvatGuide.json index 887457a5..8a792829 100644 --- a/src-tauri/capabilities/TeyvatGuide.json +++ b/src-tauri/capabilities/TeyvatGuide.json @@ -46,6 +46,7 @@ { "identifier": "fs:allow-write-file", "allow": [{ "path": "**" }] }, { "identifier": "fs:allow-write-text-file", "allow": [{ "path": "**" }] }, { "identifier": "opener:allow-open-path", "allow": [{ "path": "**" }] }, + { "identifier": "opener:allow-open-url", "allow": [{ "url": "**" }] }, { "identifier": "http:default", "allow": [