移除命令行里的文件夹创建命令。
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
#Created by .winboll/winboll_app_build.gradle
|
#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
|
stageCount=11
|
||||||
libraryProject=
|
libraryProject=
|
||||||
baseVersion=15.11
|
baseVersion=15.11
|
||||||
publishVersion=15.11.10
|
publishVersion=15.11.10
|
||||||
buildCount=45
|
buildCount=50
|
||||||
baseBetaVersion=15.11.11
|
baseBetaVersion=15.11.11
|
||||||
|
|||||||
@@ -170,8 +170,9 @@ public class TermuxEnvTestActivity extends BaseWinBoLLActivity {
|
|||||||
// 3. 构造命令(核心:用stdbuf禁用缓冲,实现实时输出)
|
// 3. 构造命令(核心:用stdbuf禁用缓冲,实现实时输出)
|
||||||
String targetCmd = "";
|
String targetCmd = "";
|
||||||
// 步骤1:进入项目目录(不存在则创建)
|
// 步骤1:进入项目目录(不存在则创建)
|
||||||
targetCmd += "cd " + projectPath + " || (mkdir -p " + projectPath + " && cd " + projectPath + ") && ";
|
//targetCmd += "cd " + projectPath + " || (mkdir -p " + projectPath + " && cd " + projectPath + ") && ";
|
||||||
// 步骤2:加载环境变量
|
targetCmd += "cd " + projectPath + " && ";
|
||||||
|
// 步骤2:加载环境变量
|
||||||
targetCmd += "source ~/.bashrc && ";
|
targetCmd += "source ~/.bashrc && ";
|
||||||
// 步骤3:显式配置PATH
|
// 步骤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 && ";
|
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禁用缓冲,实现实时输出)
|
// 3. 构造命令(核心:用stdbuf禁用缓冲,实现实时输出)
|
||||||
String targetCmd = "";
|
String targetCmd = "";
|
||||||
// 步骤1:进入项目目录(不存在则创建)
|
// 步骤1:进入项目目录(不存在则创建)
|
||||||
targetCmd += "cd " + projectPath + " || (mkdir -p " + projectPath + " && cd " + projectPath + ") && ";
|
targetCmd += "cd " + projectPath + " && ";
|
||||||
// 步骤2:加载环境变量
|
// 步骤2:加载环境变量
|
||||||
targetCmd += "source ~/.bashrc && ";
|
targetCmd += "source ~/.bashrc && ";
|
||||||
// 步骤3:显式配置PATH
|
// 步骤3:显式配置PATH
|
||||||
|
|||||||
Reference in New Issue
Block a user