only show update popup when a new version drops
This commit is contained in:
2
main.go
2
main.go
@@ -23,7 +23,7 @@ func main() {
|
||||
go func() {
|
||||
prefs, _ := utils.LoadPrefs()
|
||||
latest, notes, update, err := utils.CheckForUpdate(appVersion)
|
||||
if err == nil && update && prefs.SuppressedUpdateVersion != latest {
|
||||
if err == nil && update && latest != appVersion && prefs.SuppressedUpdateVersion != latest {
|
||||
checkbox := widget.NewCheck("Do not show this anymore", func(bool) {})
|
||||
content := container.NewVBox(
|
||||
widget.NewLabel("A new version ("+latest+") is available!"),
|
||||
|
Reference in New Issue
Block a user