dark: Fix checkver (#452)

This commit is contained in:
Hsiao-nan Cheung 2019-09-27 15:05:58 +08:00 committed by GitHub
parent f4f8370f18
commit e0a3de8322
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,8 @@
"bin": "dark.exe", "bin": "dark.exe",
"checkver": { "checkver": {
"url": "https://github.com/ScoopInstaller/Binary/tree/master/dark", "url": "https://github.com/ScoopInstaller/Binary/tree/master/dark",
"re": "dark-([0-9.]+).zip" "regex": "dark-([\\d.]+)\\.zip",
"reverse": true
}, },
"autoupdate": { "autoupdate": {
"url": "https://raw.githubusercontent.com/ScoopInstaller/Binary/master/dark/dark-$version.zip", "url": "https://raw.githubusercontent.com/ScoopInstaller/Binary/master/dark/dark-$version.zip",