diff --git a/.CI/build-installer.ps1 b/.CI/build-installer.ps1 index 1d897e20..ed64e6a4 100644 --- a/.CI/build-installer.ps1 +++ b/.CI/build-installer.ps1 @@ -15,11 +15,11 @@ if ($isTagged) { # This is a release. # Make sure, any existing `modes` file is overwritten for the user, # for example when updating from nightly to stable. - Write-Output "" > Chatterino2/modes; + Write-Output "" | Out-File Chatterino2/modes -Encoding ASCII; $installerBaseName = "Chatterino.Installer"; } else { - Write-Output nightly > Chatterino2/modes; + Write-Output nightly | Out-File Chatterino2/modes -Encoding ASCII; $defines = "/DIS_NIGHTLY=1"; $installerBaseName = "Chatterino.Nightly.Installer"; } diff --git a/CHANGELOG.md b/CHANGELOG.md index 420f6d5d..b0645a80 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unversioned +- Dev: Fixed UTF16 encoding of `modes` file for the installer. (#4791) + ## 2.4.5 - Major: AutoMod term management messages (e.g. testaccount added "noob" as a blocked term on AutoMod.) are now hidden in Streamer Mode if you have the "Hide moderation actions" setting enabled. (#4758)