summaryrefslogtreecommitdiff
path: root/xmake/plugins/pack/wix/main.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-05-28 00:50:29 +0800
committerruki <[email protected]>2024-05-28 00:50:29 +0800
commit70f4e6c342796fa77d4d3c129942ae3a7c12013c (patch)
tree2b2e07592ad319241b81a4879963223c17e0f376 /xmake/plugins/pack/wix/main.lua
parenteb306abadd73036109546fff204d28a9b1d3d264 (diff)
remove wix version first
Diffstat (limited to 'xmake/plugins/pack/wix/main.lua')
-rw-r--r--xmake/plugins/pack/wix/main.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/xmake/plugins/pack/wix/main.lua b/xmake/plugins/pack/wix/main.lua
index e6befb85a..e3550a6ab 100644
--- a/xmake/plugins/pack/wix/main.lua
+++ b/xmake/plugins/pack/wix/main.lua
@@ -31,8 +31,7 @@ function _get_wix()
-- find makensis
local packages = {}
- local require_version = ">=4.0.0"
- local wix = find_tool("wix", {require_version = require_version})
+ local wix = find_tool("wix")
if not wix then
table.join2(packages, install_packages("wixtoolset"))
end
@@ -44,7 +43,7 @@ function _get_wix()
-- we need to force detect and flush detect cache after loading all environments
if not wix then
- wix = find_tool("wix", {force = true, require_version = require_version})
+ wix = find_tool("wix", {force = true})
end
assert(wix, "wix not found (ensure that wix is up to date)!")
return wix, oldenvs