From d7fd8395e5bcc5d5b8ff2f04e6d75ac1c11ca66b Mon Sep 17 00:00:00 2001 From: Dominik Demuth Date: Sun, 2 Apr 2023 19:44:01 +0200 Subject: [PATCH] update zsync location --- src/gui_qt/lib/utils.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/gui_qt/lib/utils.py b/src/gui_qt/lib/utils.py index 49373ec..738524c 100644 --- a/src/gui_qt/lib/utils.py +++ b/src/gui_qt/lib/utils.py @@ -213,18 +213,17 @@ class Downloader(QtCore.QObject): class Updater: - host = 'mirror.infra.pkm' - bucket = 'nmreval' + host = 'gitea.pkm.physik.tu-darmstadt.de/api/packages/IPKM/generic/NMReval/latest/' version = 'NMReval-latest-x86_64' @property def zsync_url(self): - return f'http://{Updater.host}/{Updater.bucket}/{Updater.version}.AppImage.zsync' + return f'https://{Updater.host}/{Updater.version}.AppImage.zsync' @staticmethod @lru_cache(3) def get_zsync(): - url_zsync = f'http://{Updater.host}/{Updater.bucket}/{Updater.version}.AppImage.zsync' + url_zsync = f'https://{Updater.host}/{Updater.version}.AppImage.zsync' m_time_zsync = None checksum_zsync = None zsync_file = None