From bdf260aa92b719ecf058fd2d1790dd1093a573c7 Mon Sep 17 00:00:00 2001 From: JohnE Date: Thu, 25 Apr 2019 22:31:42 -0700 Subject: [PATCH] MOD: added mac screen rotate fix, also git cot --- .bash_android | 4 ++++ .gitconfig | 1 + scripts/fix_rotate.sh | 4 ++++ 3 files changed, 9 insertions(+) create mode 100755 scripts/fix_rotate.sh diff --git a/.bash_android b/.bash_android index 46e764e..514ec29 100644 --- a/.bash_android +++ b/.bash_android @@ -10,6 +10,10 @@ # # 2) create links to JDK (Android Studio includes a Java 8 SDK, so use that) # ln -s "/Applications/Android Studio.app/Contents/jre/jdk/Contents/Home" /usr/local/opt/java-home +# +# *) make Android Studion Java the default Java +# rm /System/Library/Frameworks/JavaVM.framework/Versions/Current +# ln -s "/Applications/Android Studio.app/Contents/jre/jdk/Contents/Home" /System/Library/Frameworks/JavaVM.framework/Versions/Current # # # [ MISC ] diff --git a/.gitconfig b/.gitconfig index ce584ff..d89b66c 100644 --- a/.gitconfig +++ b/.gitconfig @@ -48,6 +48,7 @@ co = checkout chb = checkout -b cob = checkout -b + cot = checkout -t ############# d = diff dc = diff --cached diff --git a/scripts/fix_rotate.sh b/scripts/fix_rotate.sh new file mode 100755 index 0000000..c6689ff --- /dev/null +++ b/scripts/fix_rotate.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +fb-rotate -d 0x1a003e82 -r 0 +fb-rotate -d 0x1a003e82 -r 90 \ No newline at end of file