Modified code se so updates will work properly for the next Socializer alpha stuff
This commit is contained in:
parent
bbeb80600b
commit
711ec58419
@ -75,7 +75,8 @@ def find_version_data(update_type, current_version, available_update):
|
|||||||
return (False, False, False)
|
return (False, False, False)
|
||||||
available_description = available_update["message"]
|
available_description = available_update["message"]
|
||||||
# ToDo: simplify this so it can be reused in other projects.
|
# ToDo: simplify this so it can be reused in other projects.
|
||||||
if sys.version[0] == "3":
|
import application
|
||||||
|
if application.is_pyinstaller():
|
||||||
update_url = "https://code.manuelcortez.net/manuelcortez/socializer/-/jobs/artifacts/master/raw/socializer.zip?job=alpha_python3"
|
update_url = "https://code.manuelcortez.net/manuelcortez/socializer/-/jobs/artifacts/master/raw/socializer.zip?job=alpha_python3"
|
||||||
else:
|
else:
|
||||||
update_url = "https://code.manuelcortez.net/manuelcortez/socializer/-/jobs/artifacts/master/raw/socializer.zip?job=alpha"
|
update_url = "https://code.manuelcortez.net/manuelcortez/socializer/-/jobs/artifacts/master/raw/socializer.zip?job=alpha"
|
||||||
|
Loading…
Reference in New Issue
Block a user