Skip to content

Commit

Permalink
complete
Browse files Browse the repository at this point in the history
  • Loading branch information
the-marcus committed Nov 1, 2018
1 parent 3c50cb3 commit ce87150
Show file tree
Hide file tree
Showing 9 changed files with 4,259 additions and 2 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file modified CLOVER/.DS_Store
Binary file not shown.
Binary file modified CLOVER/kexts/.DS_Store
Binary file not shown.
16 changes: 14 additions & 2 deletions XPS9360.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,17 @@ enable_trim()

enable_3rdparty()
{
echo "${GREEN}[3rd Party${OFF}: Enabling ${BOLD}3rd Party${OFF} application support"
echo "${GREEN}[3rd Party]${OFF}: Enabling ${BOLD}3rd Party${OFF} application support"
sudo spctl --master-disable
}

disable_touchid()
{
echo "${GREEN}[TouchID]${OFF}: disabling ${BOLD}TouchID${OFF} launch daemons"
sudo launchctl remove -w /System/Library/LaunchDaemons/com.apple.biometrickitd.plist
sudo launchctl remove -w /System/Library/LaunchDaemons/com.apple.biokitaggdd.plist
}

RETVAL=1

case "$1" in
Expand All @@ -130,15 +137,20 @@ case "$1" in
enable_3rdparty
RETVAL=0
;;
--disable-touchid)
disable_touchid
RETVAL=0
;;
*)
echo "${BOLD}Dell XPS 9530${OFF} - High Sierra 10.13.1 (17B1003)"
echo "${BOLD}Dell XPS 9530${OFF} - High Sierra 10.13.6 (17G2208)"
echo "https://github.com/the-darkvoid/XPS9360-macOS"
echo
echo "\t${BOLD}--update${OFF}: Update to latest git version (including externals)"
echo "\t${BOLD}--compile-dsdt${OFF}: Compile DSDT files to ./DSDT/compiled"
echo "\t${BOLD}--patch-hda${OFF}: Create AppleHDA injector kernel extension"
echo "\t${BOLD}--enable-trim${OFF}: Enable trim support for 3rd party SSD"
echo "\t${BOLD}--enable-3rdparty${OFF}: Enable 3rd party application support (run app from anywhere)"
echo "\t${BOLD}--disable-touchid${OFF}: Disable Touch ID daemons (Used for Macbook15,2 profile)"
echo
echo "Credits:"
echo "${BLUE}OS-X-Clover-Laptop-Config (Hot-patching)${OFF}: https://github.com/RehabMan/OS-X-Clover-Laptop-Config"
Expand Down
Loading

0 comments on commit ce87150

Please sign in to comment.