浏览代码

Merge pull request #40 from xiaoshanlin000/master

update xmake path
ruki 1 年之前
父节点
当前提交
a6a60f377b
共有 1 个文件被更改,包括 2 次插入1 次删除
  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()) {