mac_create_dmg.sh 506 Bytes
Newer Older
1
#!/bin/sh
2
cp -r ../../qgroundcontrol-build-desktop/qgroundcontrol.app .
3 4


5 6
cp -r ../audio qgroundcontrol.app/Contents/MacOs/.
mkdir -p qgroundcontrol.app/Contents/Frameworks/
7
# SDL is not copied by Qt - for whatever reason
8
cp -r /Library/Frameworks/SDL.framework qgroundcontrol.app/Contents/Frameworks/.
9
echo -e '\n\nStarting to create disk image. This may take a while..\n'
10
macdeployqt qgroundcontrol.app -dmg
lm's avatar
lm committed
11
rm -rf qgroundcontrol.app
12
echo -e '\n\n QGroundControl .DMG file is now ready for publishing\n'