From 1506afc4a2adc7ede9634d57faeba342ce347220 Mon Sep 17 00:00:00 2001 From: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com> Date: Sun, 11 May 2025 01:33:43 +0300 Subject: [PATCH] `$ErrorActionPreference` --- DiscordChatExporter.Gui/Publish-MacOSBundle.ps1 | 2 ++ 1 file changed, 2 insertions(+) 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"