Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #12 from Uznick/master

Fix auto-opening dmg files
  • Loading branch information...
commit 7fce59b5e3173e00ddc0d2db6d28a76fd2f1b513 2 parents d96fe3e + 5624a15
@andreyvit authored
Showing with 3 additions and 4 deletions.
  1. +3 −4 create-dmg
View
7 create-dmg
@@ -173,10 +173,9 @@ chmod -Rf go-w "${MOUNT_DIR}" &> /dev/null || true
echo "Done fixing permissions."
# make the top window open itself on mount:
-if [ -x /usr/local/bin/openUp ]; then
- echo "Applying openUp..."
- /usr/local/bin/openUp "${MOUNT_DIR}"
-fi
+echo "Blessing started"
+bless --folder "${MOUNT_DIR}" --openfolder "${MOUNT_DIR}"
+echo "Blessing finished"
if ! test -z "$VOLUME_ICON_FILE"; then
# tell the volume that it has a special file attribute
Please sign in to comment.
Something went wrong with that request. Please try again.