checkver: Allow using the current version in checkver URL

This commit is contained in:
Richard Kuhnt
2018-09-14 18:33:42 +02:00
parent fb58e92c13
commit 607ac9ca7c
+3
View File
@@ -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;