Skip to content

Commit 7779485

Browse files
committed
at least it doesn't fail the job, even though it doesn't correctly encode it in the rc...
1 parent 06322ac commit 7779485

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/windows.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ jobs:
174174
Translation = @{ LangID = 9; CharsetID = 1200 }
175175
}
176176
} | ConvertTo-Json -Depth 10
177-
$Utf16NoBom = New-Object System.Text.UnicodeEncoding($false, $false)
178-
[System.IO.File]::WriteAllText("versioninfo.json", $json, $Utf16NoBom)
177+
$Utf8NoBom = New-Object System.Text.UTF8Encoding($false)
178+
[System.IO.File]::WriteAllText("versioninfo.json", $json, $Utf8NoBom)
179179
180180
goversioninfo -64 -icon ..\..\frankenphp.ico versioninfo.json -o resource.syso
181181

0 commit comments

Comments
 (0)