diff --git a/DiscordChatExporter.Gui/Publish-MacOSBundle.ps1 b/DiscordChatExporter.Gui/Publish-MacOSBundle.ps1 index 93ab032d..fd08ea22 100644 --- a/DiscordChatExporter.Gui/Publish-MacOSBundle.ps1 +++ b/DiscordChatExporter.Gui/Publish-MacOSBundle.ps1 @@ -12,6 +12,8 @@ param( [string]$ShortVersion ) +$ErrorActionPreference = "Stop" + # Setup paths $tempDirPath = Join-Path $PublishDirPath "../publish-macos-app-temp" $bundleName = "DiscordChatExporter.app"