Merge pull request 'Versioning Bug Fix' (#4) from development into master
Reviewed-on: brotoskyj/CHAMP#4
This commit was merged in pull request #4.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user