diff --git a/winboll/build.properties b/winboll/build.properties index 82d1350..f526490 100644 --- a/winboll/build.properties +++ b/winboll/build.properties @@ -1,8 +1,8 @@ #Created by .winboll/winboll_app_build.gradle -#Mon Jan 19 09:37:07 GMT 2026 +#Mon Jan 19 09:54:26 GMT 2026 stageCount=11 libraryProject= baseVersion=15.11 publishVersion=15.11.10 -buildCount=45 +buildCount=50 baseBetaVersion=15.11.11 diff --git a/winboll/src/main/java/cc/winboll/studio/winboll/unittest/TermuxEnvTestActivity.java b/winboll/src/main/java/cc/winboll/studio/winboll/unittest/TermuxEnvTestActivity.java index ad6667e..66f353f 100644 --- a/winboll/src/main/java/cc/winboll/studio/winboll/unittest/TermuxEnvTestActivity.java +++ b/winboll/src/main/java/cc/winboll/studio/winboll/unittest/TermuxEnvTestActivity.java @@ -170,8 +170,9 @@ public class TermuxEnvTestActivity extends BaseWinBoLLActivity { // 3. 构造命令(核心:用stdbuf禁用缓冲,实现实时输出) String targetCmd = ""; // 步骤1:进入项目目录(不存在则创建) - targetCmd += "cd " + projectPath + " || (mkdir -p " + projectPath + " && cd " + projectPath + ") && "; - // 步骤2:加载环境变量 + //targetCmd += "cd " + projectPath + " || (mkdir -p " + projectPath + " && cd " + projectPath + ") && "; + targetCmd += "cd " + projectPath + " && "; + // 步骤2:加载环境变量 targetCmd += "source ~/.bashrc && "; // 步骤3:显式配置PATH targetCmd += "export PATH=/data/data/com.termux/files/usr/bin:/data/data/com.termux/files/home/gradle/gradle-7.5.1/bin:$PATH && "; @@ -228,7 +229,7 @@ public class TermuxEnvTestActivity extends BaseWinBoLLActivity { // 3. 构造命令(核心:用stdbuf禁用缓冲,实现实时输出) String targetCmd = ""; // 步骤1:进入项目目录(不存在则创建) - targetCmd += "cd " + projectPath + " || (mkdir -p " + projectPath + " && cd " + projectPath + ") && "; + targetCmd += "cd " + projectPath + " && "; // 步骤2:加载环境变量 targetCmd += "source ~/.bashrc && "; // 步骤3:显式配置PATH