|
|
@@ -16,7 +16,8 @@ Remove-Item -Force $szfile
|
|
|
|
|
|
&$sevenzip a $szfile $src "-xr0!*.log"
|
|
|
|
|
|
-Get-Content -Encoding Byte -Read 512 -Path "$sfx/7zsd_All_x64.sfx","$sfx/sfx_config.txt",$szfile | Set-Content -Encoding Byte $exefile
|
|
|
+Get-Content -Encoding Byte -Read 512 -Path "$sfx/7zsd_All_x64.sfx","$sfx/sfx_config.txt",$szfile |
|
|
|
+ Set-Content -Encoding Byte $exefile
|
|
|
|
|
|
|
|
|
$wintermsfx_build="wintermsfx\build"
|
|
|
@@ -51,4 +52,5 @@ Expand-Archive $PSTOOLSFILE -DestinationPath windowsterminal\powershell\
|
|
|
|
|
|
cd $PSSCriptRoot
|
|
|
|
|
|
-gc $sfx/7zsd_All_x64.sfx,$sfx/sfx_main.txt,wintermsfx\build\windowsterminal.7z -Encoding Byte -Read 512 | sc -Encoding Byte "$dist\wintermsfx.exe"
|
|
|
+Get-Content -Encoding Byte -Read 512 $sfx/7zsd_All_x64.sfx,$sfx/sfx_main.txt,wintermsfx\build\windowsterminal.7z |
|
|
|
+ Set-Content -Encoding Byte "$dist\wintermsfx.exe"
|