mirror of
https://github.com/sinbad/UEScripts.git
synced 2025-02-23 13:15:23 +00:00
Fix non-source builds
This commit is contained in:
parent
f3fab64c0c
commit
97d91cc6b1
@ -66,6 +66,8 @@ function Get-UE-Version {
|
|||||||
$buildverfile = Join-Path $srcdir "Engine/Build/Build.version"
|
$buildverfile = Join-Path $srcdir "Engine/Build/Build.version"
|
||||||
$buildjson = (Get-Content $buildverfile) | ConvertFrom-Json
|
$buildjson = (Get-Content $buildverfile) | ConvertFrom-Json
|
||||||
return "$($buildjson.MajorVersion).$($buildjson.MinorVersion)"
|
return "$($buildjson.MajorVersion).$($buildjson.MinorVersion)"
|
||||||
|
} else {
|
||||||
|
return $assoc
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user