feat: Configurable auto-updater source #4
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently the auto-updater is hardcoded to pull from Gitea releases.
Add a configurable update source to config.ini:
[updater]
UPDATE_SOURCE = gitea ; gitea | url
UPDATE_URL = ; used when UPDATE_SOURCE = url
gitea mode (current behaviour) — checks Gitea API for latest release tag, compares version, downloads if newer.
url mode — fetches a fixed URL for the .exe and a companion version.txt to check if an update is needed. Allows hosting updates directly on the terra-view server or any static file host.
terra-view could serve both files as static endpoints, removing the Gitea dependency for field deployments on isolated networks.
added as of 1.4.4