From bc4bd61de68a38d7964a079ae9477b6acd50e92a Mon Sep 17 00:00:00 2001 From: James Turner Date: Thu, 1 Feb 2018 09:31:09 +0000 Subject: [PATCH] Mac: better macdeployqt fix --- hudson_mac_package_release.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hudson_mac_package_release.rb b/hudson_mac_package_release.rb index 34e6f20..5069a78 100755 --- a/hudson_mac_package_release.rb +++ b/hudson_mac_package_release.rb @@ -49,8 +49,10 @@ bundle=dmgDir + "/FlightGear.app" # run macdeployt before we rename the bundle, otherwise it # can't find the bundle executable +# also note if adding options here, the bundle path has to be +# the first argument to macdeployqt puts "Running macdeployqt on the bundle to copy Qt libraries" -`macdeployqt -qmldir=#{qmlDir} #{$prefixDir}/fgfs.app` +`macdeployqt #{$prefixDir}/fgfs.app -qmldir=#{qmlDir}` puts "Moving & renaming app bundle" `mkdir -p #{dmgDir}`