Skip to content

Commit 70f4e6c

Browse files
committed
remove wix version first
1 parent eb306ab commit 70f4e6c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

xmake/plugins/pack/wix/main.lua

+2-3
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ function _get_wix()
3131

3232
-- find makensis
3333
local packages = {}
34-
local require_version = ">=4.0.0"
35-
local wix = find_tool("wix", {require_version = require_version})
34+
local wix = find_tool("wix")
3635
if not wix then
3736
table.join2(packages, install_packages("wixtoolset"))
3837
end
@@ -44,7 +43,7 @@ function _get_wix()
4443

4544
-- we need to force detect and flush detect cache after loading all environments
4645
if not wix then
47-
wix = find_tool("wix", {force = true, require_version = require_version})
46+
wix = find_tool("wix", {force = true})
4847
end
4948
assert(wix, "wix not found (ensure that wix is up to date)!")
5049
return wix, oldenvs

0 commit comments

Comments
 (0)