Created
August 22, 2013 05:01
-
-
Save Leask/6303382 to your computer and use it in GitHub Desktop.
Replace /Applications/PCKeyboardHack.app/Contents/Library/scripts/kext.sh with this version.
This cheat runs your PCKeyboardHack.app on OS X Mavericks.
This file contains hidden or 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/sh | |
| PATH=/bin:/sbin:/usr/bin:/usr/sbin; export PATH | |
| basedir="/Applications/PCKeyboardHack.app/Contents/Library" | |
| kextfile='' | |
| uname=`uname -r` | |
| case "${uname%%.*}" in | |
| 11) | |
| kextfile="$basedir/PCKeyboardHack.10.7.kext" | |
| ;; | |
| 12) | |
| kextfile="$basedir/PCKeyboardHack.10.8.kext" | |
| ;; | |
| 13) | |
| kextfile="$basedir/PCKeyboardHack.10.8.kext" | |
| ;; | |
| esac | |
| if [ "x$kextfile" == 'x' ]; then | |
| exit 1 | |
| fi | |
| if [ "$1" == 'unload' ]; then | |
| kextunload -b org.pqrs.driver.PCKeyboardHack | |
| else | |
| kextload "$kextfile" | |
| fi | |
| exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment