Modified update channel

This commit is contained in:
Manuel Cortez 2018-12-27 11:15:08 -06:00
parent 009b1cddcd
commit 57968875f0

View File

@ -74,7 +74,7 @@ def find_version_data(update_type, current_version, available_update):
return (False, False, False)
available_description = available_update["message"]
# ToDo: simplify this so it can be reused in other projects.
update_url = "https://code.manuelcortez.net/manuelcortez/socializer/-/jobs/artifacts/master/raw/socializer.zip?job=production"
update_url = "https://code.manuelcortez.net/manuelcortez/socializer/-/jobs/artifacts/master/raw/socializer.zip?job=alpha"
return (available_version, available_description, update_url)
def download_update(update_url, update_destination, requests_session, progress_callback=None, chunk_size=io.DEFAULT_BUFFER_SIZE):