File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -181,7 +181,8 @@ jobs:
181181 shell : pwsh
182182 run : |
183183 $exe = Get-ChildItem -Recurse extracted\Espressif-IDE\espressif-ide.exe | Select-Object -First 1
184- & "C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x86\signtool.exe" sign `
184+ $signtool = Get-ChildItem -Path "C:\Program Files (x86)\Windows Kits" -Recurse -Name "signtool.exe" | Select-Object -First 1
185+ & "C:\Program Files (x86)\Windows Kits\$signtool" sign `
185186 /f cert.pfx `
186187 /p $env:PFX_PASS `
187188 /tr http://timestamp.digicert.com `
@@ -192,7 +193,8 @@ jobs:
192193 - name : Verify Signature
193194 run : |
194195 $exe = Get-ChildItem -Recurse extracted\Espressif-IDE\espressif-ide.exe | Select-Object -First 1
195- & "C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x86\signtool.exe" verify `
196+ $signtool = Get-ChildItem -Path "C:\Program Files (x86)\Windows Kits" -Recurse -Name "signtool.exe" | Select-Object -First 1
197+ & "C:\Program Files (x86)\Windows Kits\$signtool" verify `
196198 /pa `
197199 $exe.FullName
198200
You can’t perform that action at this time.
0 commit comments