I've set my electron app to auto-start at bootup.
Here's the setting for that:
app.setLoginItemSettings({
openAtLogin: true,
path: process.execPaths
})
package.json settings:
"nsis": {
"runAfterFinish": true,
"createDesktopShortcut": true,
"deleteAppDataOnUninstall": true
}
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?
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
This issue still persists
Most helpful comment
This issue still persists