mirror of
https://github.com/sinbad/UEScripts.git
synced 2025-02-23 13:15:23 +00:00
Fix UE5 editor exe name for closing editor
This commit is contained in:
parent
e87b45e948
commit
b3df8fa5b8
@ -22,7 +22,7 @@ function Close-UE-Editor {
|
|||||||
Remove-Variable ue4proc
|
Remove-Variable ue4proc
|
||||||
|
|
||||||
# Also close UE5
|
# 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 ($ue5proc) {
|
||||||
if ($dryrun) {
|
if ($dryrun) {
|
||||||
Write-Output "UE5 project is currently open in editor, would have closed"
|
Write-Output "UE5 project is currently open in editor, would have closed"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user