Files
Archive/clash-nyanpasu/backend/tauri/tauri.conf.json
2024-07-07 20:30:33 +02:00

115 lines
3.3 KiB
JSON

{
"package": {
"productName": "Clash Nyanpasu",
"version": "1.5.1"
},
"build": {
"distDir": "../../frontend/nyanpasu/dist",
"devPath": "http://localhost:3000/",
"beforeDevCommand": "pnpm run web:dev",
"beforeBuildCommand": "pnpm run web:build"
},
"tauri": {
"systemTray": {
"iconPath": "icons/win-tray-icon.png",
"iconAsTemplate": true
},
"bundle": {
"active": true,
"targets": "all",
"identifier": "moe.elaina.clash.nyanpasu",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"resources": ["resources"],
"externalBin": [
"sidecar/clash",
"sidecar/mihomo",
"sidecar/mihomo-alpha",
"sidecar/clash-rs"
],
"copyright": "© 2024 Clash Nyanpasu All Rights Reserved",
"category": "DeveloperTool",
"shortDescription": "Clash Nyanpasu! (∠・ω< )⌒☆",
"longDescription": "Clash Nyanpasu! (∠・ω< )⌒☆",
"deb": {
"depends": ["openssl"]
},
"macOS": {
"frameworks": [],
"minimumSystemVersion": "11.0",
"exceptionDomain": "",
"signingIdentity": null,
"entitlements": null
},
"windows": {
"certificateThumbprint": null,
"digestAlgorithm": "sha256",
"timestampUrl": "",
"webviewInstallMode": {
"silent": true,
"type": "embedBootstrapper"
},
"wix": {
"language": ["zh-CN", "en-US", "ru-RU"],
"template": "./templates/installer.wxs",
"license": "../../LICENSE",
"fragmentPaths": ["./templates/cleanup.wxs"]
},
"nsis": {
"displayLanguageSelector": true,
"installerIcon": "icons/icon.ico",
"languages": ["SimpChinese", "English", "Russian"],
"license": "../../LICENSE",
"installMode": "both",
"template": "./templates/installer.nsi"
}
}
},
"updater": {
"active": true,
"endpoints": [
"https://mirror.ghproxy.com/https://github.com/LibNyanpasu/clash-nyanpasu/releases/download/updater/update-proxy.json",
"https://gh-proxy.com/https://github.com/LibNyanpasu/clash-nyanpasu/releases/download/updater/update-proxy.json",
"https://github.com/LibNyanpasu/clash-nyanpasu/releases/download/updater/update.json"
],
"dialog": false,
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDlBMUM0NjMxREZCNDRGMjYKUldRbVQ3VGZNVVljbW43N0FlWjA4UkNrbTgxSWxSSXJQcExXNkZjUTlTQkIyYkJzL0tsSWF2d0cK"
},
"allowlist": {
"shell": {
"all": true
},
"window": {
"all": true
},
"process": {
"all": true
},
"globalShortcut": {
"all": true
},
"notification": {
"all": true
},
"os": {
"all": true
},
"clipboard": {
"all": true
},
"fs": {
"all": true
}
},
"windows": [],
"security": {
"csp": "script-src 'unsafe-eval' 'self'; default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self'; img-src data: 'self' https:;"
}
}
}