less: Add autoupdate and architecture (#3415)

This commit is contained in:
sitiom 2022-03-21 11:45:39 +08:00 committed by GitHub
parent 0a4f7c4469
commit 0cf1ddb258
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,8 @@
"description": "A terminal pager program used to view (but not change) the contents of a text file one screen at a time, similar to the 'more' command.",
"homepage": "http://www.greenwoodsoftware.com/less/",
"license": "GPL-3.0-only|BSD-3-Clause",
"architecture": {
"64bit": {
"url": [
"https://github.com/jftuga/less-Windows/releases/download/less-v590/less.exe",
"https://github.com/jftuga/less-Windows/releases/download/less-v590/lesskey.exe"
@ -10,7 +12,9 @@
"hash": [
"1532a37cb2b143447939b4acae1728aa2d84df66b1de3aa0eb9d8f035fa43182",
"ce5c318354fd3e11fb2fd32a561094a3688a6a5049a532a62870f939c013603f"
],
]
}
},
"bin": [
"less.exe",
"lesskey.exe"
@ -18,5 +22,15 @@
"checkver": {
"github": "https://github.com/jftuga/less-Windows",
"regex": "tag/less-v([\\d.]+)"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": [
"https://github.com/jftuga/less-Windows/releases/download/less-v$version/less.exe",
"https://github.com/jftuga/less-Windows/releases/download/less-v$version/lesskey.exe"
]
}
}
}
}