fix: update script encoding to UTF-8 for Windows 11 compatibility

This commit is contained in:
Fordi Malanda 2026-03-21 15:18:44 +01:00
parent 97602941e5
commit 6e1ea5d82b

View File

@ -804,7 +804,7 @@ exit /b
:export :export
%psc% "$f=[System.IO.File]::ReadAllText('!_batp!') -split \":%~1\:.*`r`n\"; [io.file]::WriteAllText('!_pdesk!\$OEM$\$$\Setup\Scripts\SetupComplete.cmd',$f[1].Trim(),[System.Text.Encoding]::ASCII);" %psc% "$f=[System.IO.File]::ReadAllText('!_batp!') -split \":%~1\:.*`r`n\"; [io.file]::WriteAllText('!_pdesk!\$OEM$\$$\Setup\Scripts\SetupComplete.cmd',$f[1].Trim(),[System.Text.Encoding]::UTF8);"
exit /b exit /b
::======================================================================================================================================== ::========================================================================================================================================