Modified update paths and files in order to deploy the next date based release

This commit is contained in:
2020-07-27 09:39:54 -05:00
parent 1477522681
commit fd791fe181
3 changed files with 17 additions and 13 deletions

View File

@@ -12,12 +12,8 @@ def do_update(update_type="alpha"):
# Updates cannot be performed in the source code version.
if hasattr(sys, "frozen") == False:
return
if update_type == "stable":
endpoint = application.update_stable_url
version = application.version
else:
endpoint = application.update_next_url
version = application.update_next_version
endpoint = application.update_url
version = application.update_next_version
try:
return update.perform_update(endpoint=endpoint, current_version=version, app_name=application.name, update_type=update_type, update_available_callback=available_update_dialog, progress_callback=progress_callback, update_complete_callback=update_finished)
except ConnectionError: