Moved version out of main.

This commit is contained in:
Lea Anthony
2021-01-05 13:26:31 +11:00
parent ad65d55abd
commit e44f2fe06d
2 changed files with 3 additions and 1 deletions

View File

@@ -19,7 +19,6 @@ func fatal(message string) {
func main() {
var err error
version := "v2.0.0-alpha"
app := clir.NewCli("Wails", "Go/HTML Application Framework", version)

3
v2/cmd/wails/version.go Normal file
View File

@@ -0,0 +1,3 @@
package main
var version = "v2.0.0-alpha.4"