From d554fd4c767cd7166464fc24a9a6077cd7223c56 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 26 Jun 2024 23:27:18 +0800 Subject: use winenv cache --- core/xpack.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/xpack.lua b/core/xpack.lua index 8487051a3..c9d51b852 100644 --- a/core/xpack.lua +++ b/core/xpack.lua @@ -35,7 +35,7 @@ xpack("xmake") local format = package:format() if package:is_plat("windows") and (format == "nsis" or format == "wix" or format == "zip") then local winenv = path.join(os.programdir(), "winenv") - if false then-- os.isdir(winenv) then + if os.isdir(winenv) then package:add("installfiles", path.join(winenv, "**"), {rootdir = path.directory(winenv)}) else local arch = package:arch() -- cgit v1.3.1