admin: add build tags to "About"

build tags like e2ee and external are now included in the about page.
This commit is contained in:
Harvey Tindall
2024-08-11 17:55:12 +01:00
parent d2c7bf06f7
commit ab3989f233
10 changed files with 28 additions and 0 deletions
+6
View File
@@ -60,6 +60,7 @@ var (
commit string
buildTimeUnix string
builtBy string
buildTags []string
_LOADBAK *string
LOADBAK = ""
)
@@ -740,6 +741,11 @@ func printVersion() {
const SYSTEMD_SERVICE = "jfa-go.service"
func main() {
// Generate list of "-tags" for about page.
BuildTagsE2EE()
BuildTagsTray()
BuildTagsExternal()
f, err := logOutput()
if err != nil {
fmt.Printf(lm.FailedLogging, err)