Newer
Older
TelosDB / tmp_write_ansi.ps1
@楽曲作りまくりおじさん 楽曲作りまくりおじさん 12 hours ago 322 bytes build: improve Windows resource compile logging and error messages
$p = 'd:\develop\TelosDB\src\backend\resources\windows.rc'
if (Test-Path $p) {
  $c = Get-Content -Raw -LiteralPath $p
  [System.IO.File]::WriteAllText($p, $c, [System.Text.Encoding]::GetEncoding(932))
  Write-Output "Wrote ANSI: $p"
  Get-Item $p | Select-Object FullName, Length
} else {
  Write-Output "Not found: $p"
}