1
0
Fork 0

Fix a typo in Mac packaging script.

This commit is contained in:
James Turner 2017-12-24 21:20:24 +00:00
parent ab34ede1ea
commit 3408da4f40

View file

@ -40,7 +40,7 @@ puts "Is-release? : ##{$isRelease}"
$prefixDir=Dir.pwd + "/dist"
dmgDir=Dir.pwd + "/image"
srcDir=Dir.pwd + "/flightgear"
qmlDir="#{srcDir}/src/GUI/qml"
qmlDir=srcDir + "/src/GUI/qml"
puts "Erasing previous image dir"
`rm -rf #{dmgDir}`
@ -50,7 +50,7 @@ bundle=dmgDir + "/FlightGear.app"
# run macdeployt before we rename the bundle, otherwise it
# can't find the bundle executable
puts "Running macdeployqt on the bundle to copy Qt libraries"
`macdeployqt -qmldir #{qmldir} #{$prefixDir}/fgfs.app`
`macdeployqt -qmldir #{qmlDir} #{$prefixDir}/fgfs.app`
puts "Moving & renaming app bundle"
`mkdir -p #{dmgDir}`