From a2867061806d82efe7ca92737377f4d1a457920f Mon Sep 17 00:00:00 2001 From: Steve Streeting Date: Mon, 5 Oct 2020 13:26:41 +0100 Subject: [PATCH] Report UE version & install --- ue4-package.ps1 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ue4-package.ps1 b/ue4-package.ps1 index 030e4e5..c754317 100644 --- a/ue4-package.ps1 +++ b/ue4-package.ps1 @@ -21,6 +21,7 @@ param ( . $PSScriptRoot\inc\packageconfig.ps1 . $PSScriptRoot\inc\projectversion.ps1 . $PSScriptRoot\inc\uproject.ps1 +. $PSScriptRoot\inc\ueinstall.ps1 function Write-Usage { @@ -107,9 +108,14 @@ try { # Import config & project settings $config = Read-Package-Config -srcfolder:$src $projfile = Get-Uproject-Filename -srcfolder:$src -config:$config + $proj = Read-Uproject $projfile + $ueVersion = Get-UE-Version $proj + $ueinstall = Get-UE-Install $ueVersion Write-Output "" - Write-Output "Project file: $projfile" + Write-Output "Project file : $projfile" + Write-Output "UE Version : $ueVersion" + Write-Output "UE Install : $ueinstall" Write-Output "" Write-Output "Package configuration:" Write-Output $config