mirror of
https://github.com/sinbad/UEScripts.git
synced 2025-02-23 13:15:23 +00:00
Tidy up
This commit is contained in:
parent
38ee921ef7
commit
a8bcbb131a
@ -1,3 +1,7 @@
|
|||||||
|
# Packaging helper
|
||||||
|
# Bumps versions, builds, cooks, packages variants
|
||||||
|
# Put packageconfig.json in your project folder to configure
|
||||||
|
# See packageconfig_template.json
|
||||||
[CmdletBinding()] # Fail on unknown args
|
[CmdletBinding()] # Fail on unknown args
|
||||||
param (
|
param (
|
||||||
[string]$src,
|
[string]$src,
|
||||||
@ -181,7 +185,6 @@ try {
|
|||||||
$editorprojname = [System.IO.Path]::GetFileNameWithoutExtension($projfile)
|
$editorprojname = [System.IO.Path]::GetFileNameWithoutExtension($projfile)
|
||||||
Close-UE-Editor $editorprojname $dryrun
|
Close-UE-Editor $editorprojname $dryrun
|
||||||
|
|
||||||
|
|
||||||
$ueEditorCmd = Join-Path $ueinstall "Engine/Binaries/Win64/UE4Editor-Cmd$exeSuffix"
|
$ueEditorCmd = Join-Path $ueinstall "Engine/Binaries/Win64/UE4Editor-Cmd$exeSuffix"
|
||||||
$runUAT = Join-Path $ueinstall "Engine/Build/BatchFiles/RunUAT$batchSuffix"
|
$runUAT = Join-Path $ueinstall "Engine/Build/BatchFiles/RunUAT$batchSuffix"
|
||||||
|
|
||||||
@ -190,7 +193,6 @@ try {
|
|||||||
|
|
||||||
$outDir = Join-Path $config.OutputDir "$versionNumber/$($variant.Name)"
|
$outDir = Join-Path $config.OutputDir "$versionNumber/$($variant.Name)"
|
||||||
|
|
||||||
|
|
||||||
$argList = [System.Collections.ArrayList]@()
|
$argList = [System.Collections.ArrayList]@()
|
||||||
$argList.Add("-ScriptsForProject=`"$projfile`"") > $null
|
$argList.Add("-ScriptsForProject=`"$projfile`"") > $null
|
||||||
$argList.Add("BuildCookRun") > $null
|
$argList.Add("BuildCookRun") > $null
|
||||||
@ -234,6 +236,4 @@ catch {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Write-Output "~-~-~ UE4 Packaging Helper Completed OK ~-~-~"
|
Write-Output "~-~-~ UE4 Packaging Helper Completed OK ~-~-~"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user