Skip to content

Commit

Permalink
fix clean issue when install failed
Browse files Browse the repository at this point in the history
  • Loading branch information
zhu0629 committed Apr 26, 2024
1 parent cbbf753 commit 349d21f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/util.lua
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ function windowsCompile(ctx)
local ensurepipPath = qInstallPath .. "\\Lib\\ensurepip\\__init__.py"
local file = io.open(ensurepipPath, "r")
if file then
io.close(file)
local command = qInstallPath .. '\\python -E -s -m ensurepip -U --default-pip > NUL'
local exitCode = os.execute(command)
if exitCode ~= 0 then
Expand Down

0 comments on commit 349d21f

Please sign in to comment.