{ "$schema": "https://schema.tauri.app/config/2", "productName": "happa-mission-plan", "version": "0.0.1", "identifier": "com.xin.happa-mission-plan", "build": { "beforeDevCommand": "npm run dev", "devUrl": "http://localhost:1420", "beforeBuildCommand": "npm run build", "frontendDist": "../dist" }, "app": { "windows": [ { "title": "Happa Mission Plan", "width": 1400, "height": 900, "minWidth": 1024, "minHeight": 600 } ], "security": { "csp": "default-src 'self' ipc: http://ipc.localhost; connect-src 'self' ws: http://localhost:1420; img-src 'self' asset: http://asset.localhost https: data: blob:; style-src 'self' 'unsafe-inline'; font-src 'self' data:;", "assetProtocol": { "enable": true, "scope": ["**"] } } }, "bundle": { "active": true, "targets": "nsis", "icon": [ "icons/32x32.png", "icons/128x128.png", "icons/128x128@2x.png", "icons/icon.icns", "icons/icon.ico" ], "windows": { "nsis": { "installMode": "perMachine", "installerHooks": "./hooks.nsi" } } } }