Browse Source

update xmake path

update xmake path
xiaoshanlin000 1 year ago
parent
commit
e3c5f8a01a
1 changed files with 2 additions and 1 deletions
  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()) {