Squirrel.Windows
Squirrel.Windows copied to clipboard
Can't acquire lock for uninstalling, when updating
This just happened to me. Tried to uninstall but at the squirrel-uninstall log, I get 'Failed to grab lockfile'. Though it retries to grab the lock for a couple of times, it failed every time, cause during this time, my app was checking for update / downloading and installing an update.
I think the fix may be to kill the app before acquiring the lock, if that doesn't break anything.
WDYT?
Your app is most likely running while being uninstalled - tbh, I wouldn't worry about this, if a user uninstalls an app while it's running they kindaaaaa should expect things to Not Go Smoothly
Thanks What if the kill-the-app code will run before trying to acquire the lock? Its a solution for this scenario, if it doesn't cause other issues