{ "$schema": "https://schema.tauri.app/config/2", "productName": "Genarrative", "version": "0.1.0", "identifier": "world.genarrative.desktop", "build": { "beforeDevCommand": "npm --prefix ../.. run dev:web -- --web-port 3000 --strict-web-port", "beforeBuildCommand": "npm run typecheck", "devUrl": "http://127.0.0.1:3000/" }, "app": { "windows": [ { "create": false, "label": "main", "url": "https://www.genarrative.world/", "title": "Genarrative", "width": 1280, "height": 820, "minWidth": 960, "minHeight": 640, "devtools": false } ], "security": { "csp": "default-src 'self' customprotocol: asset:; img-src 'self' asset: https: data: blob:; media-src 'self' asset: https: data: blob:; connect-src 'self' https: wss:; script-src 'self'; style-src 'self' 'unsafe-inline'; frame-src 'self'", "devCsp": "default-src 'self' customprotocol: asset: http://127.0.0.1:*; img-src 'self' asset: http://127.0.0.1:* https: data: blob:; media-src 'self' asset: http://127.0.0.1:* https: data: blob:; connect-src 'self' http://127.0.0.1:* https: ws://127.0.0.1:* wss:; script-src 'self'; style-src 'self' 'unsafe-inline'; frame-src 'self' http://127.0.0.1:*" } }, "bundle": { "active": true, "targets": "all", "macOS": { "infoPlist": "Info.plist" }, "icon": [ "icons/32x32.png", "icons/128x128.png", "icons/128x128@2x.png", "icons/icon.icns", "icons/icon.ico", "icons/icon.png" ] }, "plugins": { "deep-link": { "desktop": { "schemes": ["genarrative"] } } } }