syncthing/lib/build
Jakob Borg df2ac7aaeb
gui, lib/api: Add possibility to feed through extra version information (#8980)
This adds an environment variable STVERSIONEXTRA that, when set, gets
added to the version information in the API and GUI.

The purpose of all this is to be able to communicate something about the
bundling or packaging, through the log & GUI and the end user, to the
potential person supporting it -- i.e., us. :) A wrapper can set this
variable to indicate that Syncthing is being run via `SyncTrayzor`,
`Syncthing-macOS`, etc., and thus indicate to the end user that the GUI
they are looking at is perhaps not the only source of truth and
management for this instance.
2023-07-16 17:43:10 +02:00
..
build.go gui, lib/api: Add possibility to feed through extra version information (#8980) 2023-07-16 17:43:10 +02:00
build_test.go gui, lib/api: Add possibility to feed through extra version information (#8980) 2023-07-16 17:43:10 +02:00
runtimeos.gen.go all: Add build constants for runtime.GOOS comparisons (#8442) 2022-07-28 19:36:39 +02:00
runtimeos.sh all: Add build constants for runtime.GOOS comparisons (#8442) 2022-07-28 19:36:39 +02:00
tags_race.go all: Update build constraints to Go 1.17 style (#7894) 2021-08-17 10:10:41 +02:00