This commit is contained in:
Dagen Brock 2016-12-06 10:26:43 -06:00
parent f30c00a37e
commit 5e250d13e1
3 changed files with 9 additions and 2 deletions

View File

@ -3,13 +3,20 @@ DDIR=buckshot-osx/buckshot.app
ADIR=assets
mkdir -p $DDIR
# make app bundle with qt frameworks using macdeployqt
~/Qt/5.7/clang_64/bin/macdeployqt build-buckshot-Desktop_Qt_5_7_0_clang_64bit-Release/buckshot.app
# copy to dmg staging dir
cp -R build-buckshot-Desktop_Qt_5_7_0_clang_64bit-Release/buckshot.app $DEXTRAS
mkdir -p $DDIR/Contents/MacOS
mkdir -p $DDIR/Contents/Resources
cp $ADIR/Info.plist $DDIR/Contents
cp $ADIR/icons.icns $DDIR/Contents/Resources
dylibbundler -od -b -x $DDIR/Contents/MacOS/buckshot -d $DDIR/Contents/libs/
# not needed?
#dylibbundler -od -b -x $DDIR/Contents/MacOS/buckshot -d $DDIR/Contents/libs/
# files to include in dmg
#cp doc/gsplusmanual.pdf $DEXTRAS

View File

@ -6,7 +6,7 @@ test -f buckshot.dmg && rm buckshot.dmg
./create-dmg \
--volname "buckshot" \
--volicon "../assets/icons.icns" \
--background "../../gsplus/assets/gsp_dmg_bg_600x500.png" \
--background "../assets/buckshot_dmg_bg_600x500.png" \
--window-pos 200 120 \
--window-size 600 500 \
--icon-size 100 \