This commit is contained in:
Aynakeya
2022-06-25 14:23:59 -07:00
parent 0a53e8220e
commit 6fc2773b12
3 changed files with 5 additions and 3 deletions

View File

@@ -3,6 +3,7 @@ package gui
import (
"AynaLivePlayer/config"
"AynaLivePlayer/logger"
"fmt"
"fyne.io/fyne/v2"
"fyne.io/fyne/v2/app"
"fyne.io/fyne/v2/container"
@@ -29,7 +30,7 @@ func l() *logrus.Entry {
func Initialize() {
os.Setenv("FYNE_FONT", config.GetAssetPath("msyh.ttc"))
App = app.New()
MainWindow = App.NewWindow("AynaLivePlayer")
MainWindow = App.NewWindow(fmt.Sprintf("AynaLivePlayer Ver.%s", config.VERSION))
tabs := container.NewAppTabs(
container.NewTabItem("Player",