mirror of
https://github.com/sinbad/UEScripts.git
synced 2025-02-23 13:15:23 +00:00
Close UE editor *before* tagging in case this fails. Also don't close the editor when using -dryrun
This commit is contained in:
parent
880d3483b1
commit
0b2cac7f34
@ -159,6 +159,11 @@ try {
|
||||
Write-Output "Maps to Cook : $mapsdesc"
|
||||
Write-Output ""
|
||||
|
||||
if (-not $dryrun)
|
||||
{
|
||||
$editorprojname = [System.IO.Path]::GetFileNameWithoutExtension($projfile)
|
||||
Close-UE-Editor $editorprojname $dryrun
|
||||
}
|
||||
|
||||
if (([bool]$major + [bool]$minor + [bool]$patch + [bool]$hotfix) -eq 0) {
|
||||
$patch = $true
|
||||
@ -206,10 +211,6 @@ try {
|
||||
if ($src -ne ".") { Pop-Location }
|
||||
}
|
||||
|
||||
|
||||
$editorprojname = [System.IO.Path]::GetFileNameWithoutExtension($projfile)
|
||||
Close-UE-Editor $editorprojname $dryrun
|
||||
|
||||
$ueEditorCmd = Join-Path $ueinstall "Engine/Binaries/Win64/UE4Editor-Cmd$exeSuffix"
|
||||
$runUAT = Join-Path $ueinstall "Engine/Build/BatchFiles/RunUAT$batchSuffix"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user