re-enable isolation. fmt. default perms

This commit is contained in:
FabianLars
2025-08-14 14:03:58 +02:00
parent 9804eeef03
commit d1edf783e1
8 changed files with 40 additions and 5 deletions
+2 -1
View File
@@ -12,7 +12,7 @@ name = "api_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[build-dependencies]
tauri-build = { workspace = true, features = ["codegen"] }
tauri-build = { workspace = true, features = ["codegen", "isolation"] }
[dependencies]
serde_json = { workspace = true }
@@ -49,6 +49,7 @@ features = [
"x11",
"image-ico",
"image-png",
"isolation",
"macos-private-api",
"tray-icon",
"protocol-asset",
+6
View File
@@ -13,6 +13,12 @@
"withGlobalTauri": true,
"macOSPrivateApi": true,
"security": {
"pattern": {
"use": "isolation",
"options": {
"dir": "../isolation-dist/"
}
},
"csp": {
"default-src": "'self' customprotocol: asset:",
"connect-src": "ipc: http://ipc.localhost",