Adds self-hosted update system

Implements a self-hosted update mechanism, allowing the application to be updated from a corporate network share without relying on third-party services.

This includes:
- Functionality to check for updates
- Download installers
- Verify checksums
- Install updates with UAC elevation

Configuration is managed via the config.ini file, with automatic checks on startup. A new settings UI is also included.
This commit is contained in:
Flavio Fois
2026-02-06 18:50:11 +01:00
parent 43cce905eb
commit 0cfe1b65f3
12 changed files with 1113 additions and 12 deletions

View File

@@ -18,6 +18,10 @@ type EMLyConfig struct {
SDKDecoderReleaseChannel string `ini:"SDK_DECODER_RELEASE_CHANNEL"`
GUISemver string `ini:"GUI_SEMVER"`
GUIReleaseChannel string `ini:"GUI_RELEASE_CHANNEL"`
Language string `ini:"LANGUAGE"`
UpdateCheckEnabled string `ini:"UPDATE_CHECK_ENABLED"`
UpdatePath string `ini:"UPDATE_PATH"`
UpdateAutoCheck string `ini:"UPDATE_AUTO_CHECK"`
}
// LoadConfig reads the config.ini file at the given path and returns a Config struct