From 34c0d0842b1f7e3a853a4ca8601c5663702fb252 Mon Sep 17 00:00:00 2001 From: brotoskyj Date: Tue, 31 Dec 2024 09:38:45 -0500 Subject: [PATCH] Versioning Bug Fix --- CHAMP.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHAMP.ps1 b/CHAMP.ps1 index 92252e3..d3304a4 100644 --- a/CHAMP.ps1 +++ b/CHAMP.ps1 @@ -1326,7 +1326,7 @@ Function preflight () { $version = Invoke-WebRequest -URI https://git.racooncity.org/brotoskyj/CHAMP/raw/branch/master/version.txt | Select-Object -ExpandProperty Content Write-Host "Version Check:" Write-Host "Local Version: $currentVersion" - if ( $version -gt $currentVersion ) { + if ( [int]$version -gt $currentVersion ) { Write-Host "Latest Version $version" Write-Host -ForegroundColor "Red" "[ ] Up to Date`n" $preflightDependancies = "Newer Version Available`n" + $preflightDependancies -- 2.34.1