Skip to content

Commit cf4e58b

Browse files
committed
Include suffix in comparison
1 parent 6948be7 commit cf4e58b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

UnitySetup/UnitySetup.psm1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ class UnityVersion
9494
if($a.Build -lt $b.Build) { return -1 }
9595
if($a.Build -gt $b.Build) { return 1 }
9696

97+
if($a.Suffix -lt $b.Suffix) { return -1 }
98+
if($a.Suffix -gt $b.Suffix) { return 1 }
99+
97100
return 0
98101
}
99102
}

0 commit comments

Comments
 (0)