fix: naprawiono encoding changelog-data.html (1.2GB → 91KB) i build-update.ps1

Get-Content bez -Encoding UTF8 psuło polskie znaki przy każdym buildzie,
powodując wykładnicze powiększanie pliku. Zamieniono na ReadAllText(UTF8).
Plik changelog-data.html wygenerowany od nowa z docs/CHANGELOG.md.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jacek
2026-03-16 09:59:49 +01:00
parent 5f5430ec62
commit 312367a3ea
2 changed files with 1 additions and 1 deletions

View File

@@ -379,7 +379,7 @@ if (Test-Path $changelogFile) {
$dateStr = Get-Date -Format "dd.MM.yyyy"
$newEntry = "<b>ver. $versionNumber - $dateStr</b><br />`n$ChangelogEntry`n<hr>`n"
$changelogContent = Get-Content $changelogFile -Raw
$changelogContent = [System.IO.File]::ReadAllText($changelogFile, $Utf8NoBom)
$changelogContent = $newEntry + $changelogContent
[System.IO.File]::WriteAllText($changelogFile, $changelogContent, $Utf8NoBom)
Write-Ok "Zaktualizowano changelog-data.html"

Binary file not shown.