Skip to content

Instantly share code, notes, and snippets.

@ongyx
Created September 2, 2020 12:16
Show Gist options
  • Save ongyx/25c1951cab1ac76568728ee9bce9ea50 to your computer and use it in GitHub Desktop.
Save ongyx/25c1951cab1ac76568728ee9bce9ea50 to your computer and use it in GitHub Desktop.
Add ‘English (Upside down) language to Zebra
#!/bin/bash
# Downloader for the 'English - Upside Down' language for Zebra.
# Have fun!
ZEBRA='/Applications/Zebra.app/en-UD.lproj'
if ! which curl >> /dev/null; then
echo 'curl is not installed, pls install :('
exit 1
fi
if ! mkdir $ZEBRA; then
echo "could not create $ZEBRA, are you root?"
exit 1
fi
if ! curl -sLo "$ZEBRA/Localizable.strings" 'https://github.com/wstyres/Zebra/blob/master/Zebra/en-UD.lproj/Localizable.strings'; then
echo 'could not download localised strings, check your Internet connection?'
exit 1
fi
echo 'done! enter Zebra, and change the language to English (Upside Down).'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment