Browse Source
Merge pull request #411 from diekinderwelt/fix_ps7_encoding_byte
fixed PowerShell Core does not have -Encoding Byte
pull/429/head
Dmitry Nefedov
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1
|
|
@ -9184,7 +9184,7 @@ BDEE24B1E5E4ED6CC9D5A337908BE5303E477736C8A75051A8FBD4E3CB6360D8F0A992A48F333434 |
|
|
|
$Bytes[$i/2] = [System.Convert]::ToByte($HexString.Substring($i, 2), 16) |
|
|
|
} |
|
|
|
|
|
|
|
Set-Content "$env:LOCALAPPDATA\Packages\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\LocalState\start.bin" -Value $Bytes -Encoding Byte -Force |
|
|
|
Set-Content "$env:LOCALAPPDATA\Packages\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\LocalState\start.bin" -Value $Bytes -AsByteStream -Force |
|
|
|
} |
|
|
|
|
|
|
|
<# |
|
|
|