Provide compile-time options to remove update checker at build time
Acknowledgement
- [x] I have read Getting-Started and FAQ
Description of the new feature / enhancement
Hi! As mentioned in my unrelated pull request, I am working on packaging OpenUtau for Alpine Linux on my personal repository (and possibly in future moving it to mainline repos).
Currently, I need to actively patch out the updater to be able to ensure the user doesn't get a confusing "hey, an update exists" when this installation is managed by the package manager and the files cannot be replaced by a non-privileged executable.
I'd like to see something that allows me to pass some flag at build time to get equivalent behaviour - including ideally not even sending an update check request (emulating the above patch) - that is opt-in at build-time (meaning normal users aren't affected), to be able to get the expected similar behaviour.
TL;DR: This is your usual "hey I'm doing changes in a semi-hacky way and would like an upstream solution"
Proposed technical implementation details
No response