Browse Source

Merge pull request #40 from xiaoshanlin000/master

update xmake path
ruki 1 năm trước cách đây
mục cha
commit
a6a60f377b
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      src/main/kotlin/io/xmake/utils/SystemUtils.kt

+ 2 - 1
src/main/kotlin/io/xmake/utils/SystemUtils.kt

@@ -39,7 +39,8 @@ object SystemUtils {
                 "xmake",
                 (System.getenv("HOME") ?: "") + "/.local/bin/xmake",
                 "/usr/local/bin/xmake",
-                "/usr/bin/xmake"
+                "/usr/bin/xmake",
+                "/opt/homebrew/bin/xmake"
             )
             for (program in programs) {
                 if (program == "xmake" || File(program).exists()) {