Explorar el Código

change: 添加本地化的7za.exe,解决编译需要安装7z的问题

Wendal Chen hace 3 años
padre
commit
fd476d701a
Se han modificado 2 ficheros con 1 adiciones y 1 borrados
  1. BIN
      7za.exe
  2. 1 1
      xmake.lua

BIN
7za.exe


+ 1 - 1
xmake.lua

@@ -377,7 +377,7 @@ end
         import("lib.detect.find_file")
         import("lib.detect.find_file")
         local path7z = nil
         local path7z = nil
         if is_plat("windows") then
         if is_plat("windows") then
-            path7z = find_file("7z.exe", { "C:/Program Files/7-Zip/", "D:/Program Files/7-Zip/", "E:/Program Files/7-Zip/"})
+            path7z = "$(buildir)/../7za.exe"
         elseif is_plat("linux") then
         elseif is_plat("linux") then
             path7z = find_file("7z", { "/usr/bin/"})
             path7z = find_file("7z", { "/usr/bin/"})
             if not path7z then
             if not path7z then