Created
September 2, 2020 12:16
-
-
Save ongyx/25c1951cab1ac76568728ee9bce9ea50 to your computer and use it in GitHub Desktop.
Add ‘English (Upside down) language to Zebra
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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