Closed pauby closed 2 years ago
Corrected, under review.
Thank you for moving so quickly on that!
The code to stop the process should be in the chocolateyBeforeModify.ps1
not in the separate install and uninstall scripts. I also believe the code you used will throw an exception if the process is not running which might cause Chocolatey to fail the install (haven't tested that).
If Launchyqt is running then it will fail to upgrade:
Need to have a
chocolateyBedforeModify.ps1
to kill the running launchyqt process.