Fix aria2 autoupdate and bfg checkver url

This commit is contained in:
Richard Kuhnt 2017-02-12 16:11:20 +01:00
parent 59e4bdcafa
commit b92c43fc5d
2 changed files with 10 additions and 8 deletions

View File

@ -17,13 +17,15 @@
"bin": "aria2c.exe",
"checkver": "<p>Download <a href=\"https://github.com/aria2/aria2[^\"]+\">version ([^<]+)</a>",
"autoupdate": {
"32bit": {
"url": "https://github.com/aria2/aria2/releases/download/release-$version/aria2-$version-win-32bit-build1.zip",
"extract_dir": "aria2-$version-win-32bit-build1"
},
"64bit": {
"url": "https://github.com/aria2/aria2/releases/download/release-$version/aria2-$version-win-64bit-build1.zip",
"extract_dir": "aria2-$version-win-64bit-build1"
"architecture": {
"32bit": {
"url": "https://github.com/aria2/aria2/releases/download/release-$version/aria2-$version-win-32bit-build1.zip",
"extract_dir": "aria2-$version-win-32bit-build1"
},
"64bit": {
"url": "https://github.com/aria2/aria2/releases/download/release-$version/aria2-$version-win-64bit-build1.zip",
"extract_dir": "aria2-$version-win-64bit-build1"
}
}
}
}

View File

@ -16,7 +16,7 @@
write-output $exe | out-file -filepath $dir\\bfg.ps1
",
"checkver": {
"url": "https://search.maven.org/solrsearch/select/?q=g:\"com.madgag\"+AND+a:\"bfg\"&wt=json&json.wrf=?&indent=true",
"url": "https://search.maven.org/solrsearch/select/?q=g:com.madgag+AND+a:bfg",
"re": "\"latestVersion\":\"([\\d.]+)\""
},
"autoupdate": {