mirror of
https://github.com/t8y2/dbx.git
synced 2026-10-29 08:11:06 +00:00
Add hwdns.net and gh-proxy.org as proxy fallbacks before direct GitHub access, with 10s timeout per endpoint. Significantly improves update check speed in regions with slow GitHub connectivity.
51 lines
1.3 KiB
JSON
51 lines
1.3 KiB
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "DBX",
|
|
"version": "0.4.3",
|
|
"identifier": "com.dbx.app",
|
|
"build": {
|
|
"frontendDist": "../dist",
|
|
"devUrl": "http://localhost:1420",
|
|
"beforeDevCommand": "pnpm dev",
|
|
"beforeBuildCommand": "pnpm build"
|
|
},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"title": "DBX",
|
|
"width": 1280,
|
|
"height": 800,
|
|
"minWidth": 900,
|
|
"minHeight": 600,
|
|
"resizable": true,
|
|
"fullscreen": false
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": null
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"createUpdaterArtifacts": true,
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
]
|
|
},
|
|
"plugins": {
|
|
"updater": {
|
|
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDkxNEYyMzE3QkJCNkM3REYKUldUZng3YTdGeU5Qa1NnTUZCRVhJVkxsOWZKQWFPVCtacUgySlNlcjRDU2RmZElCQnphd25pYUMK",
|
|
"endpoints": [
|
|
"https://update.hwdns.net/https://github.com/t8y2/dbx/releases/latest/download/latest.json",
|
|
"https://gh-proxy.org/https://github.com/t8y2/dbx/releases/latest/download/latest.json",
|
|
"https://github.com/t8y2/dbx/releases/latest/download/latest.json"
|
|
]
|
|
}
|
|
}
|
|
}
|