Skip to content

Commit 32f7ef3

Browse files
committed
Add version to title.
1 parent 564e279 commit 32f7ef3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

main.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,17 @@ import (
1515
//go:embed frontend/dist
1616
var assets embed.FS
1717

18+
const (
19+
version = "0.0.1"
20+
)
21+
1822
func main() {
1923
go listener.CreateWatcher()
2024

2125
GoSearchApp := GoSearch()
2226

2327
err := wails.Run(&options.App{
24-
Title: "GoSearch",
28+
Title: "GoSearch - V" + version,
2529
Width: 650,
2630
Height: 350,
2731
Frameless: true,
@@ -44,4 +48,4 @@ func main() {
4448
if err != nil {
4549
pterm.Fatal.WithFatal(true).Println(err)
4650
}
47-
}
51+
}

0 commit comments

Comments
 (0)