From 677798e4f376f7b7166457cef20101d4ab9315a8 Mon Sep 17 00:00:00 2001 From: JohnE Date: Thu, 23 Jul 2015 13:17:42 -0700 Subject: [PATCH] added scripts folder for tracking --- scripts/audio_reload.sh | 6 ++++++ scripts/launch_android.sh | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100755 scripts/audio_reload.sh create mode 100755 scripts/launch_android.sh diff --git a/scripts/audio_reload.sh b/scripts/audio_reload.sh new file mode 100755 index 0000000..ad23fa8 --- /dev/null +++ b/scripts/audio_reload.sh @@ -0,0 +1,6 @@ +#!/bin/sh +echo "Make sure to quite all sound using applications before running this (i.e. browsers, skype, garageband, etc.)" +sudo kextunload /System/Library/Extensions/AppleHDA.kext +sudo kextload /System/Library/Extensions/AppleHDA.kext +sudo killall coreaudiod +echo "Done, try changing the volume up and down a bit." diff --git a/scripts/launch_android.sh b/scripts/launch_android.sh new file mode 100755 index 0000000..07844cd --- /dev/null +++ b/scripts/launch_android.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +export JAVA_HOME=/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home +export STUDIO_JDK=$JAVA_HOME + +open /Applications/Android\ Studio.app