Stop regsvr32 to prevent hanging on exit

This commit is contained in:
Andrew Kahr 2023-10-15 15:59:59 -07:00
parent a13443a746
commit 70ae34a606
2 changed files with 3 additions and 0 deletions

BIN
dist/index.js.map generated vendored

Binary file not shown.

View File

@ -16,3 +16,6 @@ regsvr32 C:\ProgramData\Microsoft\VisualStudio\Setup\x64\Microsoft.VisualStudio.
# Free the seat for the activated license
& "c:\steps\return_license.ps1"
# Kill the regsvr process
Get-Process -Name regsvr32 | ForEach-Object { Stop-Process -Id $_.Id -Force }