{ "$schema": "https://schema.tauri.app/config/2", "productName": "PhotoReport", "version": "0.3.24", "identifier": "pt.photoreport.desktop", "build": { "devUrl": "http://localhost:5173", "frontendDist": "../../app/dist", "beforeDevCommand": "pnpm --filter @photoreport/app dev", "beforeBuildCommand": "pnpm --filter @photoreport/app build", "beforeBundleCommand": "bash -c 'd=\"$PWD\"; while [ \"$d\" != / ] && [ ! -f \"$d/infra/desktop/bundle-onnx.sh\" ]; do d=$(dirname \"$d\"); done; exec bash \"$d/infra/desktop/bundle-onnx.sh\"'" }, "app": { "windows": [ { "title": "PhotoReport", "width": 1440, "height": 900, "minWidth": 1024, "minHeight": 680, "backgroundColor": "#121314", "create": false, "label": "main" } ], "security": { "csp": "default-src 'self'; script-src 'self' 'wasm-unsafe-eval' blob:; worker-src 'self' blob:; connect-src 'self' ipc: http://ipc.localhost https://*.photoreport.pt wss://*.photoreport.pt http://localhost:3000 ws://localhost:3000; img-src 'self' data: blob: https://*.photoreport.pt http://localhost:3000; style-src 'self' 'unsafe-inline'; font-src 'self' data:" } }, "bundle": { "active": true, "resources": ["onnx/"], "targets": "all", "category": "Photography", "shortDescription": "PhotoReport desktop", "icon": [ "icons/32x32.png", "icons/128x128.png", "icons/128x128@2x.png", "icons/icon.icns", "icons/icon.ico" ] }, "plugins": { "updater": { "pubkey": "", "endpoints": [] } } }