浏览代码

add:使用xmake自带7z

Dozingfiretruck 3 年之前
父节点
当前提交
83f1dcfe8e
共有 1 个文件被更改,包括 1 次插入1 次删除
  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