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,14 +3,18 @@
"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.", "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/", "homepage": "http://www.greenwoodsoftware.com/less/",
"license": "GPL-3.0-only|BSD-3-Clause", "license": "GPL-3.0-only|BSD-3-Clause",
"url": [ "architecture": {
"https://github.com/jftuga/less-Windows/releases/download/less-v590/less.exe", "64bit": {
"https://github.com/jftuga/less-Windows/releases/download/less-v590/lesskey.exe" "url": [
], "https://github.com/jftuga/less-Windows/releases/download/less-v590/less.exe",
"hash": [ "https://github.com/jftuga/less-Windows/releases/download/less-v590/lesskey.exe"
"1532a37cb2b143447939b4acae1728aa2d84df66b1de3aa0eb9d8f035fa43182", ],
"ce5c318354fd3e11fb2fd32a561094a3688a6a5049a532a62870f939c013603f" "hash": [
], "1532a37cb2b143447939b4acae1728aa2d84df66b1de3aa0eb9d8f035fa43182",
"ce5c318354fd3e11fb2fd32a561094a3688a6a5049a532a62870f939c013603f"
]
}
},
"bin": [ "bin": [
"less.exe", "less.exe",
"lesskey.exe" "lesskey.exe"
@ -18,5 +22,15 @@
"checkver": { "checkver": {
"github": "https://github.com/jftuga/less-Windows", "github": "https://github.com/jftuga/less-Windows",
"regex": "tag/less-v([\\d.]+)" "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"
]
}
}
} }
} }