{ "$schema": "https://raw.githubusercontent.com/nicedoc/obsigate/main/desktop/tauri.conf.schema.json", "productName": "ObsiGate", "version": "2.0.0", "identifier": "com.obsigate.desktop", "build": { "frontendDist": "../frontend", "devUrl": "http://localhost:17890", "beforeDevCommand": "cd .. && python -m uvicorn backend.main:app --host 127.0.0.1 --port 17890 --log-level info", "beforeBuildCommand": "echo 'Frontend already built — using static files'" }, "app": { "withGlobalTauri": true, "windows": [ { "title": "ObsiGate", "width": 1200, "height": 800, "minWidth": 800, "minHeight": 600, "resizable": true, "fullscreen": false, "center": true, "decorations": true, "transparent": false, "label": "main" } ], "security": { "csp": "default-src 'self'; script-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net https://cdnjs.cloudflare.com https://unpkg.com https://esm.sh; style-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; img-src 'self' data: blob: https:; connect-src 'self' http://127.0.0.1:* ws://127.0.0.1:*;" }, "trayIcon": { "iconPath": "icons/icon.png", "iconAsTemplate": true, "tooltip": "ObsiGate", "menuOnLeftClick": false } }, "bundle": { "active": true, "targets": "all", "icon": [ "icons/32x32.png", "icons/128x128.png", "icons/128x128@2x.png", "icons/icon.icns", "icons/icon.ico" ], "fileAssociations": [ { "ext": ["md", "markdown", "txt"], "name": "ObsiGate Markdown", "description": "Fichier Markdown ObsiGate", "role": "Editor" } ], "windows": { "wix": null, "nsis": { "installMode": "currentUser", "installerIcon": "icons/icon.ico", "shortcutName": "ObsiGate", "createDesktopShortcut": true, "startMenuFolder": "ObsiGate" } }, "linux": { "deb": { "depends": ["libwebkit2gtk-4.1-0", "libgtk-3-0", "libayatana-appindicator3-1"] }, "appimage": { "bundleMediaFramework": true } }, "macOS": { "frameworks": [], "minimumSystemVersion": "" } }, "plugins": { "updater": { "pubkey": "CHANGE_ME_TO_YOUR_PUBLIC_KEY", "endpoints": [ "https://git.dracodev.net/api/v1/repos/Projets/ObsiGate/releases/latest" ] }, "shell": { "open": true, "scope": [ { "name": "python-backend", "cmd": "./python-embed/python", "args": ["-m", "uvicorn", "backend.main:app", "--host", "127.0.0.1", "--port", "17890"] } ] } } }