diff --git a/app/src/main/java/com/trubitpro/uploadapkplugin/task/BaseTask.java b/app/src/main/java/com/trubitpro/uploadapkplugin/task/BaseTask.java index 9b74b42..8128941 100644 --- a/app/src/main/java/com/trubitpro/uploadapkplugin/task/BaseTask.java +++ b/app/src/main/java/com/trubitpro/uploadapkplugin/task/BaseTask.java @@ -128,12 +128,12 @@ public void onProgress(long currentBytes, long totalBytes) { List commend2 = new ArrayList<>(); commend2.add("bash"); commend2.add("-c"); - commend2.add("cd ../../mexo_flutter_module && git symbolic-ref --short HEAD"); + commend2.add("cd ../mexo_flutter_module && git symbolic-ref --short HEAD"); List commend3 = new ArrayList<>(); commend3.add("bash"); commend3.add("-c"); StringBuilder sb = new StringBuilder(); - sb.append("cd ../../mexo_flutter_module && git log --oneline --pretty=format:\"%an—>%s\" --no-merges --since=") + sb.append("cd ../mexo_flutter_module && git log --oneline --pretty=format:\"%an—>%s\" --no-merges --since=") .append(gitLogParams.gitLogHistoryDayTime).append("days --max-count=").append(gitLogParams.gitLogMaxCount); commend3.add(sb.toString()); try { diff --git a/app/src/main/java/com/trubitpro/uploadapkplugin/task/BuildFlutterTask.java b/app/src/main/java/com/trubitpro/uploadapkplugin/task/BuildFlutterTask.java index 7f09b40..3f30d98 100644 --- a/app/src/main/java/com/trubitpro/uploadapkplugin/task/BuildFlutterTask.java +++ b/app/src/main/java/com/trubitpro/uploadapkplugin/task/BuildFlutterTask.java @@ -29,7 +29,7 @@ public static void buildFlutter() { List commend = new ArrayList<>(); commend.add("bash"); commend.add("-c"); - commend.add("cd ../../mexo_flutter_module && pwd && flutter clean && flutter pub get && flutter build aar"); + commend.add("cd ../mexo_flutter_module && pwd && flutter clean && flutter pub get && flutter build aar"); try { ProcessUtils.exec(commend); } catch (Exception e) {