Skip to content

Commit

Permalink
url upd
Browse files Browse the repository at this point in the history
  • Loading branch information
seuyh committed Oct 30, 2024
1 parent e7c9166 commit 5b3f4d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Libs/ConnectionCheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def run(self):
self.github_status_checked.emit(False)

try:
response = requests.get('https://seuyh.ru', timeout=10)
response = requests.get('https://stlunlocker.pro', timeout=10)
if response.status_code == 200:
self.server_status_checked.emit(True)
else:
Expand Down
6 changes: 3 additions & 3 deletions UI_logic/MainWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def handle_server_status(self, status):
if self.dialogexec(self.tr('Connection error'), self.tr(
'Cant establish connection with server\nCheck your connection or you can try download DLC directly\nUnzip downloaded "dlc" folder to game folder\nThen you can continue'),
self.tr("Exit"), self.tr("Open")):
self.open_link_in_browser('https://mega.nz/file/cmNjTaqB#xGVxV0ZMDButCvSEgbul07p4OCWR3pNDcLZAs7Q_AaI')
self.open_link_in_browser('https://mega.nz/folder/4zFRnD6a#aVGAK32ZHPxCp7bMtG87BA')
self.alternative_unloc_checkbox.setEnabled(False)
else:
self.close()
Expand Down Expand Up @@ -298,7 +298,7 @@ def download_alt_method(self):

try:
response = requests.get(
"https://seuyh.ru/unlocker/launcher-installer-windows_2024.13.msi",
"https://stlunlocker.pro/unlocker/launcher-installer-windows_2024.13.msi",
stream=True)
total_size_in_bytes = int(response.headers.get('content-length', 0))
block_size = 1024
Expand Down Expand Up @@ -389,7 +389,7 @@ def start_next_download():
dlc_folder = dlc['dlc_folder']
if dlc_folder == '':
continue
file_url = f"{'https://seuyh.ru/unlocker/'}{dlc_folder}.zip"
file_url = f"{'https://stlunlocker.pro/unlocker/'}{dlc_folder}.zip"
save_path = os.path.join(self.game_path, 'dlc', f'{dlc_folder}.zip')
dlc_path = os.path.join(self.game_path, 'dlc', dlc_folder)
if not os.path.exists(dlc_path) and (not os.path.exists(save_path) or os.path.getsize(save_path) == 0):
Expand Down

0 comments on commit 5b3f4d0

Please sign in to comment.