{ "$schema": "https://schema.tauri.app/config/2", "productName": "QMaiWrite", "version": "3.2.7", "identifier": "com.qingmuai.writer", "build": { "beforeDevCommand": "npm run dev", "devUrl": "http://localhost:1420", "beforeBuildCommand": "npx vite build", "frontendDist": "../dist" }, "app": { "windows": [ { "title": "青幕AI写作", "width": 1200, "height": 800, "resizable": true, "fullscreen": false, "additionalBrowserArgs": "--disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-renderer-backgrounding" } ], "security": { "csp": "default-src 'self'; connect-src 'self' https: http:; img-src 'self' asset: https://asset.localhost; media-src 'self' asset: https://asset.localhost; style-src 'self' 'unsafe-inline'", "assetProtocol": { "enable": true, "scope": ["**"] } } }, "bundle": { "active": true, "targets": ["nsis", "app"], "resources": { "../skills/**/*": "skills/" }, "icon": [ "icons/32x32.png", "icons/128x128.png", "icons/128x128@2x.png", "icons/icon.icns", "icons/icon.ico" ] }, "plugins": { "updater": { "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEFFRTYxMjcyNzdDQkIzRDkKUldUWnM4dDNjaExtcmkvVGxmWFU1L3U4R1Z1b1BPV1lxaDZJWGROK3lyUy9GREd6b0JmWnNXb1kK", "endpoints": [ "https://github.com/Mochocyang/QMAI/releases/latest/download/latest.json" ] } } }