From 58414affe880fe3655185cc1c95389bbae6ee4d3 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Thu, 12 Dec 2019 10:39:11 -0600 Subject: [PATCH] Change architecture for update files --- scripts/generate_update_file.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/generate_update_file.py b/scripts/generate_update_file.py index 69099ba..bdf6402 100644 --- a/scripts/generate_update_file.py +++ b/scripts/generate_update_file.py @@ -14,11 +14,11 @@ print("Version detected: %s" % (version_type,)) # Read update description and URL'S if version_type == "alpha": description = os.environ.get("CI_COMMIT_MESSAGE") - urls = dict(win32="http://socializer.su/static/files/alpha/socializer_x86_alpha.zip", win64="http://socializer.su/static/files/alpha/socializer_x64_alpha.zip") + urls = dict(windows32="http://socializer.su/static/files/alpha/socializer_x86_alpha.zip", windows64="http://socializer.su/static/files/alpha/socializer_x64_alpha.zip") else: with open("update-description",'r') as f: description = f.read() - urls=dict(win32="http://socializer.su/static/files/{v}/socializer_{v}_x86.zip".format(v=version[1:]), win64="http://socializer.su/static/files/{v}/socializer_{v}_x64.zip".format(v=version[1:])) + urls=dict(windows32="http://socializer.su/static/files/{v}/socializer_{v}_x86.zip".format(v=version[1:]), windows64="http://socializer.su/static/files/{v}/socializer_{v}_x64.zip".format(v=version[1:])) # build the main dict object data = dict(current_version=version, description=description, downloads=urls)