summaryrefslogtreecommitdiff
path: root/indra/newview/installers
diff options
context:
space:
mode:
authorangela@angelas-macbook-pro.local <angela@angelas-macbook-pro.local>2010-01-12 11:08:54 +0800
committerangela@angelas-macbook-pro.local <angela@angelas-macbook-pro.local>2010-01-12 11:08:54 +0800
commit43d97298d5fdd3f5071df1e5bf70c6a59547ff06 (patch)
tree00f8f8cfc3300953b5e1af63cc39e699e1fce8b7 /indra/newview/installers
parent2b2579cf1eaae860c9c288d921e29336364a4b0a (diff)
EXT-1640 Application Icon Misaligned on OSX Installer Dialog
Diffstat (limited to 'indra/newview/installers')
-rwxr-xr-xindra/newview/installers/darwin/fix_application_icon_position.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/indra/newview/installers/darwin/fix_application_icon_position.sh b/indra/newview/installers/darwin/fix_application_icon_position.sh
new file mode 100755
index 0000000000..a0b72a89f2
--- /dev/null
+++ b/indra/newview/installers/darwin/fix_application_icon_position.sh
@@ -0,0 +1,14 @@
+# just run this script each time after you change the installer's name to fix the icon misalignment
+#!/bin/bash
+cp -r ./../../../build-darwin-i386/newview/*.dmg ~/Desktop/TempBuild.dmg
+hdid ~/Desktop/TempBuild.dmg
+open -a finder /Volumes/Second\ Life\ Installer
+osascript dmg-cleanup.applescript
+cp /Volumes/Second\ Life\ Installer/.DS_Store ~/Desktop/_DS_Store
+chflags nohidden ~/Desktop/_DS_Store
+cp ~/Desktop/_DS_Store ./firstlook-dmg/_DS_Store
+cp ~/Desktop/_DS_Store ./publicnightly-dmg/_DS_Store
+cp ~/Desktop/_DS_Store ./release-dmg/_DS_Store
+cp ~/Desktop/_DS_Store ./releasecandidate-dmg/_DS_Store
+umount /Volumes/Second\ Life\ Installer/
+rm ~/Desktop/_DS_Store ~/Desktop/TempBuild.dmg