From 4a2f7396470694853e34c2a31cf5d2059be44e17 Mon Sep 17 00:00:00 2001 From: Hiroshi Miura Date: Tue, 4 Mar 2025 16:20:11 +0900 Subject: [PATCH] Fix: run_list_qt_commercial: call of download_installer Signed-off-by: Hiroshi Miura --- aqt/installer.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/aqt/installer.py b/aqt/installer.py index 15d2d18..b6e2076 100644 --- a/aqt/installer.py +++ b/aqt/installer.py @@ -63,6 +63,7 @@ from aqt.helper import ( downloadBinaryFile, extract_auth, get_hash, + get_os_name, get_qt_installer_name, retry_on_bad_connection, retry_on_errors, @@ -903,7 +904,8 @@ class Cli: try: # Download installer self.logger.info(f"Downloading Qt installer to {installer_path}") - download_installer(Settings.baseurl, installer_path) + timeout = (Settings.connection_timeout, Settings.response_timeout) + download_installer(Settings.baseurl, installer_filename, get_os_name(), temp_path, timeout) # Build command cmd = [str(installer_path), "--accept-licenses", "--accept-obligations", "--confirm-command"]