Files
shanzezandArtyom Savchenko 4a6bd8f62d fix: desktop client should trust server's MODEL_VERSION (#10871)
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>
2026-07-03 10:43:28 +07:00
..
2024-07-28 14:55:43 +07:00
2024-07-28 14:55:43 +07:00
2025-02-24 13:12:19 +07:00
2024-07-28 14:55:43 +07:00
2026-07-02 23:21:13 +07:00
2024-07-28 14:55:43 +07:00

electron-builder

The package.json has a build section for running electron-builder. I didn't add it to this project's dependency list because many people prefer to install it globally. If you do not wish to use electon-builder, simply disregard or remove the build section from package.json.

Note that this project's build configuration overrides the default output directory to be deploy instead of dist, since dist is already being used for the transpilation target. The dist directory is the source for electron-builder.