{ "$schema": "https://schema.tauri.app/config/2", "productName": "OpsxDB", "version": "0.1.0", "identifier": "com.opsx.db", "build": { "beforeDevCommand": "bash -lc 'curl -fsS http://127.0.0.1:5174 >/dev/null 2>&1 || npm run dev:ui'", "devUrl": "http://127.0.0.1:5174", "beforeBuildCommand": "npm run build:ui", "frontendDist": "../dist" }, "app": { "windows": [ { "title": "OpsxDB", "hiddenTitle": true, "width": 1280, "height": 800, "minWidth": 960, "minHeight": 640, "resizable": true, "fullscreen": false, "label": "main" } ], "security": { "csp": "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob:; font-src 'self' data:; connect-src 'self' http://localhost:* http://127.0.0.1:* ws://localhost:* ws://127.0.0.1:* ipc://localhost; object-src 'none'; base-uri 'self'" } }, "bundle": { "active": true, "targets": "all", "icon": [ "icons/32x32.png", "icons/128x128.png", "icons/128x128@2x.png", "icons/icon.icns", "icons/icon.ico" ], "externalBin": [ "binaries/opsxdb-server" ] } }