Encode modes file in UTF8 (#4791)

This commit is contained in:
nerix
2023-08-27 11:45:16 +02:00
committed by GitHub
parent 05a72d335a
commit 15bd72eed1
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -15,11 +15,11 @@ if ($isTagged) {
# This is a release. # This is a release.
# Make sure, any existing `modes` file is overwritten for the user, # Make sure, any existing `modes` file is overwritten for the user,
# for example when updating from nightly to stable. # for example when updating from nightly to stable.
Write-Output "" > Chatterino2/modes; Write-Output "" | Out-File Chatterino2/modes -Encoding ASCII;
$installerBaseName = "Chatterino.Installer"; $installerBaseName = "Chatterino.Installer";
} }
else { else {
Write-Output nightly > Chatterino2/modes; Write-Output nightly | Out-File Chatterino2/modes -Encoding ASCII;
$defines = "/DIS_NIGHTLY=1"; $defines = "/DIS_NIGHTLY=1";
$installerBaseName = "Chatterino.Nightly.Installer"; $installerBaseName = "Chatterino.Nightly.Installer";
} }
+2
View File
@@ -2,6 +2,8 @@
## Unversioned ## Unversioned
- Dev: Fixed UTF16 encoding of `modes` file for the installer. (#4791)
## 2.4.5 ## 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) - 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)