diff options
| -rw-r--r-- | gui.go | 1 | ||||
| -rw-r--r-- | splash.go | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -24,6 +24,7 @@ type GuiDataStructure struct { ButtonClickNew func(*ButtonMap) CurrentVM string MyArea *ui.Area + Version string // stuff for the splash screen / setup tabs cloudWindow *ui.Window @@ -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) |
