summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()