diff options
| author | Jeff Carr <[email protected]> | 2019-05-22 22:50:36 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-05-22 22:50:36 -0700 |
| commit | 0ac47b65bd3fd8b367f814ba1a5fcaa24a7778fa (patch) | |
| tree | 61afe53b121d3bfd5b35b800f02d6346da529aac /splash.go | |
| parent | 0190410cc9bdbf635bf9a1ab0fe4d17fe9f870fb (diff) | |
allow version to be set
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'splash.go')
| -rw-r--r-- | splash.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -27,7 +27,8 @@ func ShowSplashBox(vbox *ui.Box, atest chan int, custom func(int, string)) *ui.B newbox.Append(ui.NewLabel("OS: " + runtime.GOOS), false) } - newbox.Append(ui.NewLabel("Version: v0.3"), false) + version := "Version: " + Data.Version + newbox.Append(ui.NewLabel(version), false) okButton := CreateButton("OK", "CLOSE", custom) newbox.Append(okButton, false) |
