Procházet zdrojové kódy

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

Wendal Chen před 3 roky
rodič
revize
fd476d701a
2 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. binární
      7za.exe
  2. 1 1
      xmake.lua

binární
7za.exe


+ 1 - 1
xmake.lua

@@ -377,7 +377,7 @@ end
         import("lib.detect.find_file")
         local path7z = nil
         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
             path7z = find_file("7z", { "/usr/bin/"})
             if not path7z then