瀏覽代碼

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

Wendal Chen 3 年之前
父節點
當前提交
fd476d701a
共有 2 個文件被更改,包括 1 次插入1 次删除
  1. 二進制
      7za.exe
  2. 1 1
      xmake.lua

二進制
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