浏览代码

minor reformatting

Tobias Simetsreiter 3 年之前
父节点
当前提交
1d8931c8a4
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 4 2
      build.ps1

+ 4 - 2
build.ps1

@@ -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"