Changed more files to adapt to the new hosting provider

This commit is contained in:
Manuel Cortez 2021-01-19 15:57:27 -06:00
parent b498dfb91e
commit 18fd1610bf
3 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ print("Version detected: %s" % (version_type,))
# Read update description and URL'S
if version_type == "latest":
description = os.environ.get("CI_COMMIT_MESSAGE")
urls = dict(Windows32="https://manuelcortez.net/static/files/music_dl/latest/music_dl.zip", Windows64="https://manuelcortez.net/static/files/music_dl/latest/music_dl.zip")
urls = dict(Windows32="https://files.manuelcortez.net/music_dl/latest/music_dl.zip", Windows64="https://files.manuelcortez.net/music_dl/latest/music_dl.zip")
else:
with open("update-description",'r') as f:
description = f.read()

View File

@ -11,6 +11,6 @@ translators = [_(u"Manuel Cortez (Spanish)")]
bts_name = "music_dl"
bts_access_token = "fe3j2ijirvevv9"
bts_url = "https://issues.manuelcortez.net"
update_url = "https://manuelcortez.net/static/files/music_dl/update/latest.json"
update_url = "https://files.manuelcortez.net/music_dl/update/latest.json"
version = "2020.07.23"
update_next_version = "14775226"

View File

@ -5,7 +5,7 @@ import requests
from codecs import open
print("Writing version data for alpha update...")
commit_info = requests.get("https://code.manuelcortez.net/api/v4/projects/5/repository/commits/master")
commit_info = requests.get("https://gitlab.com/api/v4/projects/23506193/repository/commits/master")
commit_info = commit_info.json()
commit = commit_info["short_id"]
print("Got new version info: {commit}".format(commit=commit,))