Auto-update client/server binaries
wtfbbqhax opened this issue · comments
Victor Roemer commented
Cherry pick code from Tremulous-Launcher and plumb it into src/sys/sys_main.c:main().
Outline of run-time expectation:
- Initialize cvars; check for
autoupdate->integer > 1
- Request list of releases from wtfbbqhax/tremulous
- Download update if available
- exec new tremulous instance/wait + kill self
mega commented
Make sure you only auto update if you're running an official build.
Victor Roemer commented
@megatog615 absolutely!
As I flesh out the infrastructure that will feed the auto-updater additional release "channels" will be added (e.g., beta, stable, nightly). Users will be able to choose which release channel they are subscribed to.