Category Archives: osx

script to update AirMail Beta

AirMail Beta is updated so frequently that I am getting quite annoyed by having to download and extract and copy the new build from the same link over and over again. So here’s a no-brainer bash script which does these repetitive manual actions.

echo "downloading"
wget $(curl -L 2>/dev/null | grep 'format=zip' | head -1 | cut -d\' -f4) -O
if [[ -d "AirMail" ]]; then
    rm -rf "AirMail"
echo "unzip"
unzip 2>&1 1>/dev/null
PID=$(ps -A | grep "AirMail Beta" | grep -v grep | awk {'printf $1}')
if [[ ! -z ${PID} ]]; then
    echo "kill running airmail (${PID})"
    kill ${PID}
if [[ -d "/Applications/AirMail" ]]; then
    echo "rename current"
    mv "/Applications/AirMail" "/Applications/AirMail Beta"
echo "copy new to applications directory"
mv "AirMail" /Applications/
echo "cleanup"
rm -rf "/Applications/AirMail Beta"
if [[ ! -z ${PID} ]]; then
    echo "restart"
    open -g "/Applications/AirMail"
echo "done"

GMA 915/(900?) with QE/CI on Leopard 10.5.5

I have only tested it for GMA 915, it works amazingly without the paperclip hack, even though there’s mouse tearing occasionally, it should be working for GMA 900 too but I’m not sure, so try it at your own risk.

just replace the kext files with the ones from and also replace the OpenGL.framework.

If you don’t know where the destination directories are, GMA950 kext files should be put into /System/Library/Extensions and OpenGL.framework should be put into /System/Library/Frameworks, and don’t forget to backup the old files. (514.5 KiB, 2,614 hits) (13.8 MiB, 3,764 hits)