Skip to content

Commit

Permalink
improve nsis
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Nov 19, 2023
1 parent f9f6792 commit 9c9e227
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/n/nsis/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 9c9e227

Please sign in to comment.