13
0

DMG background images for Mixbus

This commit is contained in:
Robin Gareus 2015-01-16 22:24:04 +01:00
parent 8a60769c9f
commit 9b3f3a9fea
3 changed files with 4 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

View File

@ -540,7 +540,7 @@ rm -rf $PRODUCT_PKG_DIR
mkdir $PRODUCT_PKG_DIR mkdir $PRODUCT_PKG_DIR
DMGWINBOTTOM=440 DMGWINBOTTOM=440
DMGBACKGROUND=dmgbg.png DMGBACKGROUND=dmgbg
if [ x$SAE != x ] ; then if [ x$SAE != x ] ; then
@ -558,6 +558,7 @@ elif [ x$MIXBUS != x ] ; then
echo "Creating Mixbus packaging directory" echo "Creating Mixbus packaging directory"
mv $APPDIR $PRODUCT_PKG_DIR/ mv $APPDIR $PRODUCT_PKG_DIR/
DMGBACKGROUND=dmgbgMB
else else
echo "Creating $APPNAME packaging directory" echo "Creating $APPNAME packaging directory"
@ -592,7 +593,7 @@ if test x$WITH_HARVID != x ; then
YPOS=$[ $DMGWINBOTTOM - 300 ] YPOS=$[ $DMGWINBOTTOM - 300 ]
XJADEOPOS="set position of item \"Jadeo.app\" of container window to {310, ${YPOS}}" XJADEOPOS="set position of item \"Jadeo.app\" of container window to {310, ${YPOS}}"
DMGBACKGROUND=dmgbgxj.png DMGBACKGROUND=${DMGBACKGROUND}xj
fi fi
echo "Building DMG ..." echo "Building DMG ..."
@ -630,7 +631,7 @@ mount -t hfs "${DiskDevice}" "${MNTPATH}"
cp -r ${PRODUCT_PKG_DIR}/* "${MNTPATH}" || exit cp -r ${PRODUCT_PKG_DIR}/* "${MNTPATH}" || exit
mkdir "${MNTPATH}/.background" mkdir "${MNTPATH}/.background"
cp -vi ${DMGBACKGROUND} "${MNTPATH}/.background/dmgbg.png" cp -vi ${DMGBACKGROUND}.png "${MNTPATH}/.background/dmgbg.png"
echo "setting DMG background ..." echo "setting DMG background ..."