We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
waruqi
Learn more about funding links in repositories.
Report abuse
1 parent 3cc3158 commit eb306abCopy full SHA for eb306ab
xmake/plugins/pack/wix/main.lua
@@ -31,7 +31,8 @@ function _get_wix()
31
32
-- find makensis
33
local packages = {}
34
- local wix = find_tool("wix", {require_version = ">=4.0.0"})
+ local require_version = ">=4.0.0"
35
+ local wix = find_tool("wix", {require_version = require_version})
36
if not wix then
37
table.join2(packages, install_packages("wixtoolset"))
38
end
@@ -43,7 +44,7 @@ function _get_wix()
43
44
45
-- we need to force detect and flush detect cache after loading all environments
46
- wix = find_tool("wix", {force = true})
47
+ wix = find_tool("wix", {force = true, require_version = require_version})
48
49
assert(wix, "wix not found (ensure that wix is up to date)!")
50
return wix, oldenvs
0 commit comments