[windows_kext] Fix echo in build_cab.ps1

This commit is contained in:
Vladimir Stoilov
2024-05-23 15:34:25 +03:00
committed by GitHub
parent b0a75820e7
commit 19eb3289e1

View File

@@ -22,27 +22,27 @@ if(!$?) {
move {{sys_file}} cab\\{{sys_file}} move {{sys_file}} cab\\{{sys_file}}
move {{pdb_file}} cab\\{{pdb_file}} move {{pdb_file}} cab\\{{pdb_file}}
echo. Write-Host
echo ===== Write-Host =====
echo creating .cab ... Write-Host creating .cab ...
MakeCab /f {{version_file}}.ddf MakeCab /f {{version_file}}.ddf
if(!$?) { if(!$?) {
Exit $LASTEXITCODE Exit $LASTEXITCODE
} }
echo. Write-Host
echo ===== Write-Host =====
echo cleaning up ... Write-Host cleaning up ...
del setup.inf del setup.inf
del setup.rpt del setup.rpt
move disk1\\{{version_file}}.cab {{version_file}}.cab move disk1\\{{version_file}}.cab {{version_file}}.cab
rmdir disk1 rmdir disk1
echo. Write-Host
echo ===== Write-Host =====
echo YOUR TURN: sign the .cab Write-Host YOUR TURN: sign the .cab
echo use something along the lines of: Write-Host use something along the lines of:
echo. Write-Host
echo signtool sign /sha1 C2CBB3A0256A157FEB08B661D72BF490B68724C4 /tr http://timestamp.digicert.com /td sha256 /fd sha256 /a {{version_file}}.cab Write-Host signtool sign /sha1 C2CBB3A0256A157FEB08B661D72BF490B68724C4 /tr http://timestamp.digicert.com /td sha256 /fd sha256 /a {{version_file}}.cab
echo. Write-Host