Configured sidecar

- Add the sidecar to start the .NET server when running the app
- Add proper logging
- Add message handling for communication between .NET and Rust/Tauri
- Add dynamic port allocation for the .NET server
- Add transition to .NET app, i.e., a loading screen
This commit is contained in:
tsommer committed 2024-05-12 14:40:06 +02:00
1 parent c633053663
commit b44a95c67b
4 files changed
+726 -39

No files matched your search

+24 -2
View File
@@ -12,11 +12,26 @@
"allowlist": {
"all": false,
"shell": {
"sidecar": true,
"all": false,
"open": true
"open": true,
"scope": [
{
"name": "../app/MindWork AI Studio/bin/dist/mindworkAIStudio",
"sidecar": true,
"args": true
}
]
},
"path": {
"all": true
},
"http" : {
"all": true,
"request": true,
"scope": [
"http://localhost"
]
}
},
"windows": [
@@ -29,12 +44,19 @@
}
],
"security": {
"csp": null
"csp": null,
"dangerousUseHttpScheme": true
},
"bundle": {
"active": true,
"targets": "all",
"identifier": "org.tsommer.mindwork-ai-studio",
"externalBin": [
"../app/MindWork AI Studio/bin/dist/mindworkAIStudio"
],
"macOS": {
"exceptionDomain": "localhost"
},
"icon": [
"icons/32x32.png",
"icons/128x128.png",