fix: same version comparison

This commit is contained in:
Lea Anthony
2019-05-12 14:55:39 +10:00
parent f86c10af02
commit 50e2037fba
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
package cmd
// Version - Wails version
const Version = "v0.13.1"
const Version = "v0.13.2"

View File

@@ -83,7 +83,7 @@ func updateToVersion(targetVersion *cmd.SemanticVersion, force bool) error {
var targetVersionString = "v" + targetVersion.String()
// Early exit
if targetVersion.String() == cmd.Version {
if targetVersionString == cmd.Version {
logger.Green("Looks like you're up to date!")
return nil
}