feat: add Linux permission handling for media access and configure main window in tauri.conf.json
All checks were successful
Build / check-version (push) Successful in 5s
Build / build-linux (push) Successful in 8m58s
Build / build-windows (push) Successful in 9m17s
Build / build-android (push) Successful in 12m35s
Build / create-release (push) Has been skipped

- Implemented automatic permission handling for microphone and camera access on Linux using webkit2gtk.
- Updated tauri.conf.json to define the main application window with specific dimensions and properties.
This commit is contained in:
2026-02-05 04:57:45 +11:00
parent 4b185556f8
commit 89b0da0854
6 changed files with 72 additions and 2 deletions

View File

@@ -11,7 +11,19 @@
},
"app": {
"withGlobalTauri": true,
"windows": [],
"windows": [
{
"label": "main",
"title": "Paarrot",
"width": 1200,
"height": 800,
"minWidth": 480,
"minHeight": 480,
"resizable": true,
"fullscreen": false,
"create": false
}
],
"security": {
"csp": "script-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self'; img-src 'self' https: http: data: blob:"
}