PageRenderTime 26ms CodeModel.GetById 20ms RepoModel.GetById 1ms app.codeStats 0ms

/indra/newview/installers/darwin/fix_application_icon_position.sh

https://bitbucket.org/lindenlab/viewer-beta/
Shell | 17 lines | 7 code | 0 blank | 10 comment | 0 complexity | 2a5be2f15e40dc433ebb15f68b5db825 MD5 | raw file
Possible License(s): LGPL-2.1
  1. # just run this script each time after you change the installer's name to fix the icon misalignment
  2. #!/bin/bash
  3. cp -r ../../../../build-darwin-i386/newview/*.dmg ~/Desktop/TempBuild.dmg
  4. hdid ~/Desktop/TempBuild.dmg
  5. open -a finder /Volumes/Second\ Life\ Installer
  6. osascript dmg-cleanup.applescript
  7. umount /Volumes/Second\ Life\ Installer/
  8. hdid ~/Desktop/TempBuild.dmg
  9. open -a finder /Volumes/Second\ Life\ Installer
  10. #cp /Volumes/Second\ Life\ Installer/.DS_Store ~/Desktop/_DS_Store
  11. #chflags nohidden ~/Desktop/_DS_Store
  12. #cp ~/Desktop/_DS_Store ./firstlook-dmg/_DS_Store
  13. #cp ~/Desktop/_DS_Store ./publicnightly-dmg/_DS_Store
  14. #cp ~/Desktop/_DS_Store ./release-dmg/_DS_Store
  15. #cp ~/Desktop/_DS_Store ./releasecandidate-dmg/_DS_Store
  16. #umount /Volumes/Second\ Life\ Installer/
  17. #rm ~/Desktop/_DS_Store ~/Desktop/TempBuild.dmg