# Automationtool shipping remove suffix change package name

**URL:** <https://forums.unrealengine.com/t/automationtool-shipping-remove-suffix-change-package-name/477085>\
**Category:** Platform & Builds\
**Tags:** automationtool, unreal-engine, UE4, question\
**Created:** [January 11, 2021, 1:52pm UTC](https://forums.unrealengine.com/t/automationtool-shipping-remove-suffix-change-package-name/477085 "2021-01-11T13:52:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Talad](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Talad](https://forums.unrealengine.com/u/Talad)\
**Post date:** [January 11, 2021, 1:52pm UTC](https://forums.unrealengine.com/t/automationtool-shipping-remove-suffix-change-package-name/477085/1 "2021-01-11T13:52:10Z")

</div>

Hi,  
any idea how to avoid RunUAT appending [projectname]-Mac-Shipping.app when packaging?  
I would like the final app to be named only with the project name, so PSUnreal.app and not PSUnreal-Mac-Shipping.app

Same for Windows: I would like the final app to be named only with the project name, so PSUnreal.exe and not PSUnreal-Win64-Shipping.exe

---

<div class="post-metadata">

**Author:** ![Talad](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Talad](https://forums.unrealengine.com/u/Talad)\
**Post date:** [January 11, 2021, 1:57pm UTC](https://forums.unrealengine.com/t/automationtool-shipping-remove-suffix-change-package-name/477085/2 "2021-01-11T13:57:57Z")

</div>

I found the solution, you need to add to Target.cs

```
if (Configuration == UnrealTargetConfiguration.Shipping)
{
      UndecoratedConfiguration = UnrealTargetConfiguration.Shipping;
...
```

---

<div class="post-metadata">

**Author:** ![Talad](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Talad](https://forums.unrealengine.com/u/Talad)\
**Post date:** [July 26, 2023, 9:36am UTC](https://forums.unrealengine.com/t/automationtool-shipping-remove-suffix-change-package-name/477085/3 "2023-07-26T09:36:59Z")

</div>

Just to document how I solved it.

It’s still broken in Unreal Engine 5.1.1, same problem. If you use Undecorated the build will fail.

The way I solved it was for our main game to edit

Engine/Source/Programs/AutomationTool/Mac/MacPlatform.Automation.cs

inside ProcessArchivedProject() at line: 475

change ExeName to this, where PSUnrealClient is my project name:

```
string ExeName = "PSUnrealClient";

```

In our launcher program I had to change it this way instead to have it working:

```
string ExeName = SC.ShortProjectName;

```

Try both and one will work for you.

---

<div class="post-metadata">

**Author:** ![Daniel\_The\_S](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Daniel\_The\_S](https://forums.unrealengine.com/u/Daniel_The_S)\
**Post date:** [September 9, 2024, 5:56pm UTC](https://forums.unrealengine.com/t/automationtool-shipping-remove-suffix-change-package-name/477085/4 "2024-09-09T17:56:41Z")

</div>

This works for me (5.3.2, with a custom engine although I think it will work with the stock one):

```auto
if (Configuration == UnrealTargetConfiguration.Shipping && Platform == UnrealTargetPlatform.Mac)
{
	bOverrideBuildEnvironment = true;
	UndecoratedConfiguration = UnrealTargetConfiguration.Shipping;
}

```

However, it does seem to cause problems if you are signing the executable.
