mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-29 04:55:03 +02:00
The desktop preload script explicitly overrides serverConfig.MODEL_VERSION with the value baked into the desktop binary at build time. This causes the "New version is available" dialog to fire for self-hosted users whenever desktop CI builds from a different commit than the server image (i.e., when v* and s* tags diverge in version.txt). Use the server's authoritative MODEL_VERSION instead, falling back to the bundled value when the server does not report one. Signed-off-by: Shannon Kerr <shannon@exaviz.com> Co-authored-by: Artyom Savchenko <armisav@gmail.com>