Browse Source

add:使用xmake自带7z

Dozingfiretruck 3 years ago
parent
commit
83f1dcfe8e
1 changed files with 1 additions and 1 deletions
  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