aboutsummaryrefslogtreecommitdiff
path: root/scripts/osx_post_install.sh
diff options
context:
space:
mode:
authorReiner Herrmann <reiner@reiner-h.de>2019-07-31 20:49:52 +0000
committerGitHub <noreply@github.com>2019-07-31 20:49:52 +0000
commitaa5a8bd0ecc50f9f9d05abac6654c8c28074c1e2 (patch)
treed248651290b03e5d618adeab991b7856888aad74 /scripts/osx_post_install.sh
parent4092a230b6c56e63e4a5b2a9181dde91f54ae5aa (diff)
parent4f924fca750f90f75acfd5589ac601783c9f12af (diff)
Merge pull request #2 from georgethebeatle/macosx-supportHEADtrunk
Mac OSX support
Diffstat (limited to 'scripts/osx_post_install.sh')
-rwxr-xr-xscripts/osx_post_install.sh13
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
+