Removed the Tauri IPC

This commit is contained in:
Thorsten Sommer 2024-09-01 19:54:30 +02:00
parent 923ab54061
commit 7e8d2c4813
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108
2 changed files with 2 additions and 22 deletions

View File

@ -9,7 +9,7 @@ authors = ["Thorsten Sommer"]
tauri-build = { version = "1.5", features = [] } tauri-build = { version = "1.5", features = [] }
[dependencies] [dependencies]
tauri = { version = "1.7.1", features = [ "updater", "http-all", "shell-sidecar", "path-all", "shell-open"] } tauri = { version = "1.7.1", features = [ "updater", "shell-sidecar", "shell-open"] }
tauri-plugin-window-state = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" } tauri-plugin-window-state = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0" serde_json = "1.0"

View File

@ -2,7 +2,7 @@
"build": { "build": {
"devPath": "ui/", "devPath": "ui/",
"distDir": "ui/", "distDir": "ui/",
"withGlobalTauri": true "withGlobalTauri": false
}, },
"package": { "package": {
"productName": "MindWork AI Studio", "productName": "MindWork AI Studio",
@ -22,16 +22,6 @@
"args": true "args": true
} }
] ]
},
"path": {
"all": true
},
"http" : {
"all": true,
"request": true,
"scope": [
"http://localhost"
]
} }
}, },
"windows": [ "windows": [
@ -43,16 +33,6 @@
"height": 1080 "height": 1080
} }
], ],
"security": {
"csp": null,
"dangerousRemoteDomainIpcAccess": [
{
"domain": "localhost",
"windows": ["main"],
"enableTauriAPI": true
}
]
},
"bundle": { "bundle": {
"active": true, "active": true,
"targets": "all", "targets": "all",