1.0.3
This commit is contained in:
8
main.go
8
main.go
@@ -11,19 +11,19 @@ import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
var appVersion = semver.MustParse("1.0.1")
|
||||
const appVersion = "1.0.3"
|
||||
|
||||
func main() {
|
||||
log.SetupLogging()
|
||||
|
||||
PEApp := app.NewWithID("com.burkey.epochsilicon")
|
||||
PEWindow := PEApp.NewWindow("EpochSilicon v" + appVersion.String())
|
||||
PEWindow := PEApp.NewWindow("EpochSilicon v" + appVersion)
|
||||
PEWindow.Resize(fyne.NewSize(650, 500))
|
||||
PEWindow.SetFixedSize(true)
|
||||
|
||||
go func() {
|
||||
prefs, _ := utils.LoadPrefs()
|
||||
updateInfo, updateAvailable, err := utils.CheckForUpdateWithAssets(appVersion)
|
||||
updateInfo, updateAvailable, err := utils.CheckForUpdateWithAssets(semver.MustParse(appVersion))
|
||||
if err != nil {
|
||||
log.Debugf("Failed to check for updates: %v", err)
|
||||
return
|
||||
@@ -44,7 +44,7 @@ func main() {
|
||||
}
|
||||
|
||||
// Show enhanced update dialog
|
||||
ui.ShowUpdateDialog(updateInfo, appVersion.String(), PEWindow)
|
||||
ui.ShowUpdateDialog(updateInfo, appVersion, PEWindow)
|
||||
}()
|
||||
|
||||
content := ui.CreateUI(PEWindow)
|
||||
|
Reference in New Issue
Block a user