sanbornm / go-selfupdate

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

Feature request, disable update check environment variable #43

Open tristanmorgan opened 2 years ago

tristanmorgan commented 2 years ago

Would it be possible to have the code use an environment variable to disable the update check for new versions?

export DISABLE_GO_SELFUPDATE=false
export DISABLE_GO_SELFUPDATE_APPNAME=true

maybe a suffixed variation for specific downstream apps.