commit 302908520f3a1a6ac4810ad55e80c7e10e67dcef
parent 34b07adb19b12e37afd0dd40e3f9d46def9414ae
Author: Alexander Kojevnikov <alexander@kojevnikov.com>
Date: Wed, 23 Jun 2010 16:33:35 +0900
[osx] Fix .DS_Store in the DMG
Diffstat:
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/bundle.sh b/bundle.sh
@@ -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