summaryrefslogtreecommitdiff
path: root/core/xpack.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-06-26 23:27:18 +0800
committerruki <[email protected]>2024-06-26 23:27:18 +0800
commitd554fd4c767cd7166464fc24a9a6077cd7223c56 (patch)
tree629fc17de6b5ebaaabba31c920b1aa5eb2db9d67 /core/xpack.lua
parent3956a7d5c7caaca1622cf0b3f3557bc6416531f4 (diff)
use winenv cache
Diffstat (limited to 'core/xpack.lua')
-rw-r--r--core/xpack.lua2
1 files changed, 1 insertions, 1 deletions
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()