You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
605 B
19 lines
605 B
#!/bin/sh |
|
# Clean build directories |
|
rm -rf mac |
|
mkdir -p mac |
|
# Change to build directory and compile application |
|
cd .. |
|
make -j4 |
|
# Copy and build the application bundle |
|
cd deploy |
|
cp -r ../bin/mac/qgroundcontrol.app mac/. |
|
|
|
|
|
cp -r ../audio mac/qgroundcontrol.app/Contents/MacOs/. |
|
mkdir -p mac/qgroundcontrol.app/Contents/Frameworks/ |
|
cp -r SDL.framework mac/qgroundcontrol.app/Contents/Frameworks/. |
|
echo -e '\n\nStarting to create disk image. This may take a while..\n' |
|
macdeployqt mac/qgroundcontrol.app -dmg |
|
rm -rf mac/qgroundcontrol.app |
|
echo -e '\n\n QGroundControl .DMG file is now ready for publishing\n'
|
|
|