TechieGuy12 / PlexServerAutoUpdater

Automatically update Plex when running the Plex service.
MIT License
118 stars 10 forks source link

Startup entry from the Run key in registry is not removed #40

Closed vikingtiger closed 3 years ago

vikingtiger commented 4 years ago

I notice that there is a function DeleteRunKey which seems perfect for clearing out the startup entry which is automatically written by the Plex update packages. However, it is never run. When running Plex as a service, this could be quite useful. Has there been any issues with DeleteRunKey?

I could probably make a pull request after playing around with this a little, but before I do that, I'm just curious if there's anything I should be aware of. I'm guessing it might not be desirable to remove the Run key if Plex is being run as the logged on user, especially if it's not being run as a service. Some conditional checks might be the right way to go, and/or perhaps a setting/configurable flag.

TechieGuy12 commented 4 years ago

The latest release should now delete the run value to prevent Plex from starting during Windows startup.