fix: enable tauri plugin opener (#559)
* fix: enable tauri plugin opener * fix: add remote urls to make build work on Windows * fix: update Cargo.lock We need tauri v2.8.0 since which supports `WebviewBuilder::on_new_window` * fix: handle `window.open()` using `WebviewBuilder::on_new_window` --------- Co-authored-by: Krishan <33421343+kfiven@users.noreply.github.com>
This commit is contained in:
@@ -2,6 +2,11 @@
|
||||
"identifier": "migrated",
|
||||
"description": "permissions that were migrated from v1",
|
||||
"local": true,
|
||||
"remote": {
|
||||
"urls": [
|
||||
"http://localhost:44548"
|
||||
]
|
||||
},
|
||||
"windows": [
|
||||
"main"
|
||||
],
|
||||
@@ -77,6 +82,10 @@
|
||||
"clipboard-manager:allow-write-text",
|
||||
"core:app:allow-app-show",
|
||||
"core:app:allow-app-hide",
|
||||
"clipboard-manager:default"
|
||||
"clipboard-manager:default",
|
||||
{
|
||||
"identifier": "opener:allow-open-url",
|
||||
"allow": [{ "url": "http://*" }, { "url": "https://*" }]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user