Skip to content

Commit

Permalink
Changed version checking.
Browse files Browse the repository at this point in the history
When running from source (or dev build), the popup saying a new (lower) version is available is no more shown.
  • Loading branch information
LaChal committed Jan 7, 2016
1 parent bf30b47 commit a9c5cb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def check_for_new_version(release_api_response):
if not is_dev():
# release_api_response = json.loads(urllib2.urlopen("https://api.github.com/repos/Khroki/MCEdit-Unified/releases").read())
version = release_api_response[0]
if version["tag_name"] != get_release_tag():
if version["tag_name"] > get_release_tag():
is_64bit = sys.maxsize > 2**32
assets = version["assets"]
for asset in assets:
Expand Down

0 comments on commit a9c5cb3

Please sign in to comment.