summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui.go1
-rw-r--r--splash.go3
2 files changed, 3 insertions, 1 deletions
diff --git a/gui.go b/gui.go
index ff47910..b1719cd 100644
--- a/gui.go
+++ b/gui.go
@@ -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
diff --git a/splash.go b/splash.go
index 17b460f..6304864 100644
--- a/splash.go
+++ b/splash.go
@@ -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)