improve nsis

pull/2844/head
ruki 1 year ago
parent f9f6792ed8
commit 9c9e227ff8
  1. 3
      packages/n/nsis/xmake.lua

@ -14,7 +14,8 @@ package("nsis")
on_fetch(function (package, opt)
if opt.system then
return package:find_tool("makensis", table.join({check = "/CMDHELP"}, opt))
-- we need return false to disable fallback fetch, it will stuck when call `nsis --version`
return package:find_tool("makensis", table.join({check = "/CMDHELP"}, opt)) or false
end
end)

Loading…
Cancel
Save