mirror of
https://github.com/ScoopInstaller/Scoop.git
synced 2026-09-27 07:46:27 +00:00
checkver: Allow using the current version in checkver URL
This commit is contained in:
@@ -94,6 +94,9 @@ $queue | ForEach-Object {
|
||||
|
||||
$reverse = $json.checkver.reverse -and $json.checkver.reverse -eq "true"
|
||||
|
||||
$substitutions = get_version_substitutions $json.version
|
||||
$url = substitute $url $substitutions
|
||||
|
||||
$state = new-object psobject @{
|
||||
app = (strip_ext $name);
|
||||
url = $url;
|
||||
|
||||
Reference in New Issue
Block a user