Skip to content

Commit

Permalink
fix 路径
Browse files Browse the repository at this point in the history
  • Loading branch information
wuao committed Oct 9, 2023
1 parent 30a978f commit d158032
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,12 @@ public void onProgress(long currentBytes, long totalBytes) {
List<String> 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<String> 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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static void buildFlutter() {
List<String> 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) {
Expand Down

0 comments on commit d158032

Please sign in to comment.