Skip to content

Commit ce86e57

Browse files
committed
add print
1 parent b7907db commit ce86e57

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

xmake/plugins/pack/dmg/main.lua

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ end
3939
-- get macdeployqt tool for Qt applications
4040
function _get_macdeployqt()
4141
local macdeployqt = assert(find_tool("macdeployqt"), "macdeployqt not found!")
42+
print("11111111111111macdeployqt: %s", macdeployqt.program)
4243
return macdeployqt
4344
end
4445

@@ -527,11 +528,8 @@ function _pack_dmg(package)
527528
-- handle Qt dependencies if this is a Qt project
528529
if is_qt then
529530
local macdeployqt = _get_macdeployqt()
530-
if macdeployqt then
531-
local qt_success = _deploy_qt_dependencies(package, app_source, macdeployqt)
532-
else
533-
print("Warning: macdeployqt not available, Qt dependencies may not be properly bundled")
534-
end
531+
local qt_success = _deploy_qt_dependencies(package, app_source, macdeployqt)
532+
print("Qt dependencies deployment:", qt_success and "success" or "failed")
535533
end
536534
-- find background image
537535
local bg_image = _find_background_image(package)

0 commit comments

Comments
 (0)