-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Entry left in Task manager startup apps even after uninstalling electron app #2237
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue still persists |
This issue still persists |
3 similar comments
This issue still persists |
This issue still persists |
This issue still persists |
Same here. |
Not much electron-builder can do if electron is adding that itself. Makes sense that it can't cleanup during uninstall though, as the app wouldn't be aware of it. Mac doesn't have a hook for uninstalls since it's just a file (.app) being deleted from the filesystem |
This is still an issue. |
That's nice, thanks for chiming in.
I'm not familiar with how electron itself inserts a startup app (i.e. LoginItem) nor with Windows registry, but if you can identify a generic way to remove the login item from the registry, then I'm happy to guide you on submitting a PR for resolving an electron-created issue |
I've set my electron app to auto-start at bootup.
Here's the setting for that:
package.json settings:
The issue is when i uninstall the app i can still see the entry in task manager -> startup apps tab.
see the image below (note that 'open file location' is disabled for this entry):
On digging I found that electron adds the registry entry @
Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
which doesn't get cleared on app uninstall.I'm not sure how to get it removed maybe some additional parameters to include in the uninstaller script or any other way?
And also what would be the process in MAC?
The text was updated successfully, but these errors were encountered: