{ "$schema": "../node_modules/@tauri-apps/cli/config.schema.json", "productName": "YunOPC-Hub", "identifier": "cn.pinesound.opc.hub", "version": "0.0.1-beta.1", "build": { "frontendDist": "../dist-tauri", "devUrl": "http://localhost:8093/tauri.html", "beforeDevCommand": "uv run python3 ../scripts/sync_version.py && vite --mode tauri", "beforeBuildCommand": "uv run python3 ../scripts/sync_version.py && npm run build:tauri-bootstrap" }, "app": { "withGlobalTauri": false, "windows": [], "security": { "csp": "default-src 'self'; connect-src 'self' http://127.0.0.1:* ws://127.0.0.1:* ipc: http://ipc.localhost https://opc.pinesound.cn; script-src 'self'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; img-src 'self' asset: http://asset.localhost blob: data: https:; frame-src 'self' https: http: data:;" } }, "bundle": { "active": true, "targets": [ "app", "dmg", "nsis" ], "icon": [ "icons/icon.icns", "icons/icon.ico" ], "resources": [ "binaries/qwenpaw-backend", "binaries/python-runtime", "binaries/node-runtime", "LICENSE", "LICENSE_QwenPaw", "NOTICE" ], "windows": { "webviewInstallMode": { "type": "downloadBootstrapper", "silent": true }, "nsis": { "installerIcon": "../../scripts/pack/assets/icon.ico", "uninstallerIcon": "../../scripts/pack/assets/icon.ico", "installerHooks": "nsis-hooks.nsh", "languages": [ "English", "SimpChinese", "Indonesian", "Japanese", "Russian", "PortugueseBR", "Vietnamese" ], "customLanguageFiles": { "English": "nsis-languages/English.nsh", "SimpChinese": "nsis-languages/SimpChinese.nsh", "Indonesian": "nsis-languages/Indonesian.nsh", "Japanese": "nsis-languages/Japanese.nsh", "Russian": "nsis-languages/Russian.nsh", "PortugueseBR": "nsis-languages/PortugueseBR.nsh" }, "compression": "zlib", "displayLanguageSelector": false } }, "macOS": { "minimumSystemVersion": "14.0", "dmg": { "windowSize": { "width": 640, "height": 440 } } }, "createUpdaterArtifacts": true }, "plugins": { "updater": { "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDkwRTBDNDRBRTJENTUxQTIKUldTaVVkWGlTc1Rna0lwZ3MzQ3J2KzFpZG5obExUT3B6SnRoeU4wcVJiZXRrN3B5Nlp4MzlLaWsK", "endpoints": [ "http://127.0.0.1:8090/desktop-updates/latest.json" ], "windows": { "installMode": "passive" } } }, "mainBinaryName": "yunopc-hub" }