From 38f22576de015587867c3fd6d3519eb75fd02994 Mon Sep 17 00:00:00 2001 From: luojian Date: Tue, 8 Jul 2025 14:36:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=BE=E7=A4=BA=E5=87=BA=E8=BF=9B=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/project_build.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/project_build.py b/scripts/project_build.py index 4755635..6aedfb7 100644 --- a/scripts/project_build.py +++ b/scripts/project_build.py @@ -27,14 +27,14 @@ class ProjectBuild(Task): def build_apk(self): cmd = f"{self.gradlew()} -p {self.context.temp_project_path} assembleLawnWithQuickstepPlay" app_logger().debug(f"build apk cmd = {cmd}") - return_code, stdout, stderr = CommandUtils.execute(cmd) - app_logger().debug(f"build apk return_code = {return_code} stdout = {stdout} stderr = {stderr}") + CommandUtils.execute_with_real_time_output(cmd) + app_logger().debug(f"build apk end.") def build_aab(self): cmd = f"{self.gradlew()} -p {self.context.temp_project_path} bundleLawnWithQuickstepPlayRelease" app_logger().debug(f"build aab cmd = {cmd}") - return_code, stdout, stderr = CommandUtils.execute(cmd) - app_logger().debug(f"build aab return_code = {return_code} stdout = {stdout} stderr = {stderr}") + CommandUtils.execute_with_real_time_output(cmd) + app_logger().debug(f"build aab end.") def execute(self): self.init()