From b3df8fa5b885144d84738dc7f1eddd96c870f324 Mon Sep 17 00:00:00 2001 From: Steve Streeting Date: Tue, 19 Apr 2022 12:20:56 +0100 Subject: [PATCH] Fix UE5 editor exe name for closing editor --- inc/ueeditor.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/ueeditor.ps1 b/inc/ueeditor.ps1 index e145d6c..784d738 100644 --- a/inc/ueeditor.ps1 +++ b/inc/ueeditor.ps1 @@ -22,7 +22,7 @@ function Close-UE-Editor { Remove-Variable ue4proc # Also close UE5 - $ue5proc = Get-Process UEEditor -ErrorAction SilentlyContinue | Where-Object {$_.MainWindowTitle -like "$uprojectname*" } + $ue5proc = Get-Process UnrealEditor -ErrorAction SilentlyContinue | Where-Object {$_.MainWindowTitle -like "$uprojectname*" } if ($ue5proc) { if ($dryrun) { Write-Output "UE5 project is currently open in editor, would have closed"