From e5c5ded5c519813d28ba4bb3f5bd54d77dfca2c7 Mon Sep 17 00:00:00 2001 From: Alexandr Stelnykovych Date: Fri, 20 Jun 2025 13:54:52 +0300 Subject: [PATCH] [kext] (build): update cab removal commands in build_cab.ps1 --- windows_kext/release/templates/build_cab.ps1 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/windows_kext/release/templates/build_cab.ps1 b/windows_kext/release/templates/build_cab.ps1 index 802a4103..055950b5 100644 --- a/windows_kext/release/templates/build_cab.ps1 +++ b/windows_kext/release/templates/build_cab.ps1 @@ -1,5 +1,7 @@ # Remove previous cab build -Remove-Item -Path "PortmasterKext_v2-0-0.cab" -ErrorAction SilentlyContinue +Remove-Item -Path "{{cab_file}}" -ErrorAction SilentlyContinue +Remove-Item -Path cab\\PortmasterKext64.sys -ErrorAction SilentlyContinue +Remove-Item -Path cab\\PortmasterKext64.pdb -ErrorAction SilentlyContinue $SDK_Version = "10.0.26100.0" @@ -55,5 +57,5 @@ Write-Host ===== Write-Host YOUR TURN: sign the .cab Write-Host "(If the sha1 fingerprint of the cert has changed, you can find it in the cert properties on Windows as Thumbprint)" Write-Host -Write-Host signtool sign /sha1 69ADFEACD5AC42D0DB5698E38CA917B9C60FBFA6 /tr http://timestamp.digicert.com /td sha256 /fd sha256 /a {{cab_file}} +Write-Host signtool sign /sha1 d3bf5973eb1ec3dbd6ec45d77d556881a350acd2 /tr http://timestamp.digicert.com /td sha256 /fd sha256 /a {{cab_file}} Write-Host