Skip to content

Commit

Permalink
Fix logic
Browse files Browse the repository at this point in the history
  • Loading branch information
valleyofdoom committed Jun 27, 2024
1 parent 8d4cace commit 139b1b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/apply-registry.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -707,9 +707,9 @@ function main() {
if ($hasMinVer -and $hasMaxVer) {
$keyString += " ; versions $($key["min_version"]) - $($key["max_version"])"
} elseif ($hasMinVer -and -not $hasMaxVer) {
$keyString += " ; $($key["min_version"]) or earlier"
$keyString += " ; $($key["min_version"]) or later"
} elseif (-not $hasMinVer -and $hasMaxVer) {
$keyString += " ; $($key["max_version"]) and later"
$keyString += " ; $($key["max_version"]) and earlier"
}

Add-Content -Path $mdfile -Value $keyString
Expand Down

0 comments on commit 139b1b5

Please sign in to comment.