Tag 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 airmail.zip"
wget $(curl -L http://airmailapp.com/beta 2>/dev/null | grep 'format=zip' | head -1 | cut -d\' -f4) -O airmail.zip
if [[ -d "AirMail Beta.app" ]]; then
    rm -rf "AirMail Beta.app"
echo "unzip airmail.zip"
unzip airmail.zip 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 Beta.app" ]]; then
    echo "rename current airmail.app"
    mv "/Applications/AirMail Beta.app" "/Applications/AirMail Beta old.app"
echo "copy new airmail.app to applications directory"
mv "AirMail Beta.app" /Applications/
echo "cleanup"
rm airmail.zip
rm -rf "/Applications/AirMail Beta old.app"
if [[ ! -z ${PID} ]]; then
    echo "restart airmail.app"
    open -g "/Applications/AirMail Beta.app"
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 GMA950.zip 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.

  GMA950.zip (514.5 KiB, 2,653 hits)

  OpenGL.framework.zip (13.8 MiB, 3,818 hits)