mirror of
https://github.com/cmderdev/cmder.git
synced 2025-01-10 16:29:08 +08:00
remove incompatible version string matching
This commit is contained in:
parent
f468ddfe95
commit
1d330e7330
@ -237,9 +237,9 @@ foreach ($s in $sources) {
|
|||||||
Write-Verbose "Version: $version"
|
Write-Verbose "Version: $version"
|
||||||
|
|
||||||
if ( $s.version -ne $version ) {
|
if ( $s.version -ne $version ) {
|
||||||
if ( ([System.Version] $s.version) -gt ([System.Version] $version) ) {
|
# if ( ([System.Version] $s.version) -gt ([System.Version] $version) ) {
|
||||||
throw "The current version $($s.version) is already newer than the found version $version!"
|
# throw "The current version $($s.version) is already newer than the found version $version!"
|
||||||
}
|
# }
|
||||||
|
|
||||||
$count++
|
$count++
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user