We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5e85bb commit 1cff3eaCopy full SHA for 1cff3ea
UnitySetup/UnitySetup.psm1
@@ -55,7 +55,7 @@ class UnitySetupInstance {
55
$modules = (Get-Content "$path\modules.json" -Raw) | ConvertFrom-Json
56
57
foreach ( $module in $modules ) {
58
- $match = $module.DownloadUrl -match "(\d+)\.(\d+)\.(\d+)([fpb])(\d+)" | Out-Null
+ $match = $module.DownloadUrl -match "(\d+)\.(\d+)\.(\d+)([fpab])(\d+)" | Out-Null
59
60
if ( $null -ne $match ) {
61
$this.Version = [UnityVersion]$match
@@ -73,7 +73,7 @@ class UnitySetupInstance {
73
}
74
75
76
- if ( -not $this.Version ) {
+ if ( $this.Version -ne $null ) {
77
throw "Failed to find a valid version identifier for installation at $path!";
78
79
0 commit comments