Explorar el Código

add:使用xmake自带7z

Dozingfiretruck hace 4 años
padre
commit
83f1dcfe8e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      xmake.lua

+ 1 - 1
xmake.lua

@@ -381,7 +381,7 @@ end
         import("lib.detect.find_file")
         local path7z = nil
         if is_plat("windows") then
-            path7z = "$(buildir)/../7za.exe"
+            path7z = "$(programdir)/winenv/bin/7z.exe"
         elseif is_plat("linux") then
             path7z = find_file("7z", { "/usr/bin/"})
             if not path7z then