[osx] Fix .DS_Store in the DMG

This commit is contained in:
Alexander Kojevnikov 2010-06-23 16:33:35 +09:00
parent 34b07adb19
commit 302908520f
2 changed files with 4 additions and 5 deletions

@ -1 +1 @@
Subproject commit 876912a7eb96f05bdd25ad82d10749b2f003ae91
Subproject commit 6f6ca063f7acc589a9e672ae57c52915f1d36fea

@ -3,15 +3,12 @@
# This script creates a Mac OS X app bundle and a DMG image from it using bockbuild.
# TODO: create these packages for GStreamer:
# BAD: orc, schroedinger, faad2, libdca, libmodplug, libmpcdec, xvid
# BAD: orc, schroedinger, libdca, libmodplug, libmpcdec, xvid
# UGLY: a52dec, libmpeg2
# TODO:
# - DS_Store
# - Icon
# - Don't close when clicking the red button
# - Mac-like toolbar
# - Lag when resizing
# - OGG and M4A often crash
pushd $(dirname $0)
@ -66,6 +63,8 @@ pushd $MOUNT_POINT &>/dev/null
ln -s /Applications " "
popd &>/dev/null
cp ../DS_Store $MOUNT_POINT/.DS_Store
echo "Detaching from disk image..."
hdiutil detach $MOUNT_POINT -quiet