{ "build": { "beforeDevCommand": "pnpm vite:dev", "beforeBuildCommand": "pnpm vite:build", "devPath": "http://localhost:3000", "distDir": "../dist", "withGlobalTauri": true }, "package": { "productName": "TeyvatGuide", "version": "0.3.3" }, "tauri": { "allowlist": { "all": true, "fs": { "all": true, "scope": ["**", "**/*"] }, "http": { "all": true, "request": true, "scope": ["https://**"] }, "shell": { "all": false, "open": true } }, "bundle": { "active": true, "icon": [ "icons/128x128.png", "icons/128x128@2x.png", "icons/32x32.png", "icons/Square107x107Logo.png", "icons/Square142x142Logo.png", "icons/Square150x150Logo.png", "icons/Square284x284Logo.png", "icons/Square30x30Logo.png", "icons/Square310x310Logo.png", "icons/Square44x44Logo.png", "icons/Square71x71Logo.png", "icons/Square89x89Logo.png", "icons/StoreLogo.png", "icons/icon.ico", "icons/icon.png" ], "identifier": "TeyvatGuide", "targets": ["msi"], "windows": { "wix": { "language": "zh-CN" } } }, "security": { "dangerousRemoteDomainIpcAccess": [ { "domain": "api-static.mihoyo.com", "windows": ["mhy_client"], "enableTauriAPI": true }, { "domain": "webstatic.mihoyo.com", "windows": ["mhy_client"], "enableTauriAPI": true } ], "csp": "default-src 'self' *; img-src *; script-src *" }, "updater": { "active": false, "dialog": true, "endpoints": [ "https://raw.fastgit.org/BTMuli/TeyvatGuide/master/latest.json", "https://raw.kgithub.com/BTMuli/TeyvatGuide/master/latest.json" ], "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDg2MkVGRjMxQzJDQzFBNTkKUldSWkdzekNNZjh1aHJGRXBEOGtwbUxLaU1wdWNVeUJaeGhoV2ZlZ3VlYmQ0b2tYZWQwODdnTHkK" }, "windows": [ { "fullscreen": false, "resizable": true, "title": "Teyvat Guide", "label": "TeyvatGuide", "width": 1600, "height": 900, "center": true, "transparent": true }, { "fullscreen": false, "resizable": false, "title": "米游社", "label": "mhy_client", "url": "https://api-static.mihoyo.com/", "userAgent": "Mozilla/5.0 (Linux; Android 12) Mobile miHoYoBBS/2.60.1", "visible": false, "width": 360, "height": 780, "center": true } ] } }