sanbornm / go-selfupdate

Enable your Go applications to self update
MIT License
1.53k stars 176 forks source link

Maybe its just me, but periodic update checks are not run #9

Closed osiloke closed 9 years ago

osiloke commented 9 years ago

It doesn't seem to do periodic updates. I also looked at the code and can't seem to figure out the logic that handles checking for future updates. I was hoping to see a loop in BackgroundRun() or a timer of some sort. Is there something i'm missing. I can see that it writes a future time to check for updates but i cant find where it rechecks the file unless the application is restarted.

osiloke commented 9 years ago

Reading more about ways to deploy apps i figured that i should restart the app when i push a new change, rather than keep looping for changes. Maybe have a third party app or a different service that checks for updates and restarts the app.