diff options
| author | Georgi Sabev <georgethebeatle@gmail.com> | 2018-03-18 11:00:12 +0200 |
|---|---|---|
| committer | Georgi Sabev <georgethebeatle@gmail.com> | 2018-03-18 11:00:12 +0200 |
| commit | 4f924fca750f90f75acfd5589ac601783c9f12af (patch) | |
| tree | d248651290b03e5d618adeab991b7856888aad74 /scripts/osx_post_install.sh | |
| parent | 448b70f271fd783b8cace3511288883d1a632072 (diff) | |
Add helper scripts for Mac OSX
Diffstat (limited to 'scripts/osx_post_install.sh')
| -rwxr-xr-x | scripts/osx_post_install.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/osx_post_install.sh b/scripts/osx_post_install.sh new file mode 100755 index 0000000..bd62e85 --- /dev/null +++ b/scripts/osx_post_install.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +KEXT_PATH="/System/Library/Extensions/AmmoonLooperUsb.kext/Contents/" + +${SCRIPT_DIR}/osx_check.sh + +mkdir -p "${KEXT_PATH}" +cp "${SCRIPT_DIR}"/resources/Info.plist "${KEXT_PATH}" + +kextload /System/Library/Extensions/AmmoonLooperUsb.kext +touch /System/Library/Extensions + |
