Skip to content

Commit

Permalink
improve to check package env
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Sep 13, 2024
1 parent 86f3070 commit 5994ea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmake/modules/private/action/require/impl/environment.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import("private.action.require.impl.install_packages")
function enter()

-- unzip or 7zip is necessary
if not find_tool("unzip") and not find_tool("7z") then
if not is_host("windows") and not find_tool("unzip") and not find_tool("7z") then
raise("failed to find unzip or 7zip! please install one of them first")
end

Expand Down

0 comments on commit 5994ea5

Please sign in to comment.