/
usbeam-consoles-dns.json
31 lines (31 loc) · 1.65 KB
/
usbeam-consoles-dns.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"version": "1.5",
"description": "多平台主机DNS服务器,将主机对应服务域名重定向到更高可用性的服务器地址",
"homepage": "https://www.dogfight360.com/blog/1845/",
"license": "Freeware",
"url": "https://www.dogfight360.com/blog/wp-content/uploads/2021/01/UsbEAm_Consoles_DNS_v1.5_%E8%A7%A3%E5%8E%8B%E5%AF%86%E7%A0%81dogfight360.zip#/dl.zip.dontautoexpand",
"hash": "5dc835f42fba9484eac0cda5baf6111524c57f3d6ddc53beac491d590dca530a",
"shortcuts": [
[
"UsbEAm_Consoles_DNS.exe",
"UsbEAm Consoles DNS"
]
],
"pre_install": [
"Expand-7zipArchive -Path \"$dir\\dl.zip.dontautoexpand\" -DestinationPath \"$dir\" -ExtractDir 'UsbEAm_Consoles_DNS' -Removal -Switches '-pdogfight360'",
"Get-ChildItem \"$dir\" 'UsbEAm_Consoles_DNS_*.exe' | Select-Object -First 1 | Rename-Item -NewName 'UsbEAm_Consoles_DNS.exe'",
"if (!(Test-Path \"$persist_dir\\UsbEAm_Consoles_DNS.ini\")) { Set-Content -Encoding ASCII -Path \"$dir\\UsbEAm_Consoles_DNS.ini\" -Value $null }",
"if (!(Test-Path \"$persist_dir\\UsbEAm_Consoles_DNS.hosts\")) { Set-Content -Encoding ASCII -Path \"$dir\\UsbEAm_Consoles_DNS.hosts\" -Value $null }"
],
"persist": [
"UsbEAm_Consoles_DNS.ini",
"UsbEAm_Consoles_DNS.hosts"
],
"checkver": {
"url": "https://www.dogfight360.com/Usbeam/usbeam_console.xml",
"regex": "VERSION=([\\d.]+)"
},
"autoupdate": {
"url": "https://www.dogfight360.com/blog/wp-content/uploads/2021/01/UsbEAm_Consoles_DNS_v$version_%E8%A7%A3%E5%8E%8B%E5%AF%86%E7%A0%81dogfight360.zip#/dl.zip.dontautoexpand"
}
}