mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-03 07:11:21 +00:00
aria2: Include build number in autoupdate URL (#2475)
This commit is contained in:
parent
406664ceab
commit
c0e65c15c5
16
aria2.json
16
aria2.json
@ -2,7 +2,7 @@
|
||||
"homepage": "https://aria2.github.io/",
|
||||
"description": "Lightweight multi-protocol & multi-source command-line download utility",
|
||||
"license": "GPL-2.0-or-later",
|
||||
"version": "1.34.0",
|
||||
"version": "1.34.0-1",
|
||||
"architecture": {
|
||||
"32bit": {
|
||||
"url": "https://github.com/aria2/aria2/releases/download/release-1.34.0/aria2-1.34.0-win-32bit-build1.zip",
|
||||
@ -16,16 +16,20 @@
|
||||
}
|
||||
},
|
||||
"bin": "aria2c.exe",
|
||||
"checkver": "<p>Download <a href=\"https://github.com/aria2/aria2[^\"]+\">version ([^<]+)</a>",
|
||||
"checkver": {
|
||||
"github": "https://github.com/aria2/aria2",
|
||||
"re": "/release-(?:[\\d.]+)/aria2-(?<version>[\\d.]+)-win-64bit-build(?<build>[\\d]+).zip",
|
||||
"replace": "${version}-${build}"
|
||||
},
|
||||
"autoupdate": {
|
||||
"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"
|
||||
"url": "https://github.com/aria2/aria2/releases/download/release-$matchVersion/aria2-$matchVersion-win-32bit-build$matchBuild.zip",
|
||||
"extract_dir": "aria2-$matchVersion-win-32bit-build$matchBuild"
|
||||
},
|
||||
"64bit": {
|
||||
"url": "https://github.com/aria2/aria2/releases/download/release-$version/aria2-$version-win-64bit-build1.zip",
|
||||
"extract_dir": "aria2-$version-win-64bit-build1"
|
||||
"url": "https://github.com/aria2/aria2/releases/download/release-$matchVersion/aria2-$matchVersion-win-64bit-build$matchBuild.zip",
|
||||
"extract_dir": "aria2-$matchVersion-win-64bit-build$matchBuild"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user