Jelajahi Sumber

Merge pull request #40 from xiaoshanlin000/master

update xmake path
ruki 1 tahun lalu
induk
melakukan
a6a60f377b
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  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()) {