Skip to content

Instantly share code, notes, and snippets.

@alexargo
Created November 21, 2011 04:16
Show Gist options
  • Save alexargo/1381595 to your computer and use it in GitHub Desktop.
Save alexargo/1381595 to your computer and use it in GitHub Desktop.
iStat Menu 2.0 Installer for Lion
#!/usr/bin/env bash
#make temp directory
mkdir /tmp/istat
cd /tmp/istat
#download istatmenus 2.0
curl -O http://macfiles.brothersoft.com/Utilities/system/istatmenus2.0.zip
#download MenuCracker
curl -L -O http://sourceforge.net/projects/menucracker/files/menucracker/menucracker-2.2/MenuCracker-2.2.dmg
#unzip/mount downloaded files
unzip istatmenus2.0.zip
hdiutil mount MenuCracker-2.2.dmg
#apply menu cracker
rm -rf /tmp/istat/iStat\ Menus\ Installer.app/Contents/Resources/MenuCracker.menu/
cp -R /Volumes/MenuCracker\ 2.2/MenuCracker.menu /tmp/istat/iStat\ Menus\ Installer.app/Contents/Resources/MenuCracker.menu/
open -W iStat\ Menus\ Installer.app/
#Cleanup
hdiutil unmount /Volumes/MenuCracker\ 2.2/
rm -rf /tmp/istat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment