diff --git a/aqt/commercial.py b/aqt/commercial.py index 4ba7265..d673a0d 100644 --- a/aqt/commercial.py +++ b/aqt/commercial.py @@ -371,9 +371,14 @@ class CommercialInstaller: install_cmd = self.package_manager.get_install_command(self.modules, temp_dir) cmd = [*base_cmd, *install_cmd] - self.logger.info(f"Running: {cmd}") safely_run(cmd, Settings.qt_installer_timeout) + for i in range(len(cmd) - 1): + if cmd[i] == "--email" or cmd[i] == "--pw": + cmd[i + 1] = "***" + + self.logger.info(f"Running: {cmd}") + except Exception as e: self.logger.error(f"Installation failed: {str(e)}") raise