Skip to content

Commit 46050fd

Browse files
authored
Merge pull request #7329 from xmake-io/qt
improve qt deploy for macapp
2 parents 92ca4c1 + b638bcf commit 46050fd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

xmake/rules/qt/deploy/macosx.lua

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,10 @@ function main(target, opt)
166166
end
167167

168168
-- do deploy
169-
local argv = {target_app, "-always-overwrite"}
169+
local argv = {target_app}
170+
if target:is_rebuilt() then
171+
table.insert(argv, "-always-overwrite")
172+
end
170173
if option.get("diagnosis") then
171174
table.insert(argv, "-verbose=3")
172175
elseif option.get("verbose") then

0 commit comments

Comments
 (0)