From 4f924fca750f90f75acfd5589ac601783c9f12af Mon Sep 17 00:00:00 2001 From: Georgi Sabev Date: Sun, 18 Mar 2018 11:00:12 +0200 Subject: Add helper scripts for Mac OSX --- scripts/osx_post_install.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 scripts/osx_post_install.sh (limited to 'scripts/osx_post_install.sh') 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 + -- cgit v1.2.3