Skip to content

Instantly share code, notes, and snippets.

@startergo
Last active March 14, 2021 10:31
Show Gist options
  • Save startergo/23a9444f220438146880959620cc1ed3 to your computer and use it in GitHub Desktop.
Save startergo/23a9444f220438146880959620cc1ed3 to your computer and use it in GitHub Desktop.
OCkextsLilu.command
#!/bin/bash
#
echo ":D"
xcode-select --install
clear
rm -rf /$HOME/Desktop/OC
rm -rf /$HOME/Desktop/OCRelease
echo "##### !!! DOWNLOADING FILES !!! #####"
mkdir /$HOME/Desktop/OC
cd /$HOME/Desktop/OC
git clone https://github.com/acidanthera/Lilu
cd /$HOME/Desktop/OC/Lilu
git clone https://github.com/acidanthera/MacKernelSDK
cd /$HOME/Desktop/OC
git clone https://github.com/acidanthera/WhateverGreen
Git clone https://github.com/acidanthera/HibernationFixup
Git clone https://github.com/cdf/Innie
Git clone https://github.com/cdf/NightShiftEnabler
Git clone https://github.com/acidanthera/HibernationFixup
git clone https://github.com/acidanthera/DebugEnhancer
Git clone https://github.com/startergo/MacProMemoryNotificationDisabler
git clone https://github.com/acidanthera/RestrictEvents
git clone https://github.com/acidanthera/NVMeFix
echo "##### !!! COPY LILU TO FOLDERS !!! #####"
xcodebuild -project ./Lilu/Lilu.xcodeproj -configuration Debug clean build ARCHS=x86_64 ONLY_ACTIVE_ARCH=YES CONFIGURATION_BUILD_DIR=/$HOME/Desktop/OC/Release
cd /$HOME/Desktop/OC
cp -r ./Release/Lilu.kext ./WhateverGreen
cp -r ./Release/Lilu.kext ./HibernationFixup
cp -r ./Release/Lilu.kext ./NightShiftEnabler
cp -r ./Release/Lilu.kext ./HibernationFixup
cp -r ./Release/Lilu.kext ./DebugEnhancer
cp -r ./Release/Lilu.kext ./MacProMemoryNotificationDisabler
cp -r ./Release/Lilu.kext ./RestrictEvents
cp -r ./Release/Lilu.kext ./NVMeFix
mkdir /$HOME/Desktop/OCRelease
cd /$HOME/Desktop/OCRelease
echo "##### !!! START BUILD FILES !!! #####"
cd /$HOME/Desktop/OC/WhateverGreen/
git clone https://github.com/acidanthera/MacKernelSDK
xcodebuild CONFIGURATION_BUILD_DIR=/$HOME/Desktop/OCRelease
cd /$HOME/Desktop/OC/HibernationFixup/
git clone https://github.com/acidanthera/MacKernelSDK
xcodebuild CONFIGURATION_BUILD_DIR=/$HOME/Desktop/OCRelease
cd /$HOME/Desktop/OC/Innie/
git clone https://github.com/acidanthera/MacKernelSDK
xcodebuild CONFIGURATION_BUILD_DIR=/$HOME/Desktop/OCRelease
cd /$HOME/Desktop/OC/NightShiftEnabler/
git clone https://github.com/acidanthera/MacKernelSDK
xcodebuild CONFIGURATION_BUILD_DIR=/$HOME/Desktop/OCRelease
cd /$HOME/Desktop/OC/HibernationFixup/
git clone https://github.com/acidanthera/MacKernelSDK
xcodebuild CONFIGURATION_BUILD_DIR=/$HOME/Desktop/OCRelease
cd /$HOME/Desktop/OC/DebugEnhancer/
git clone https://github.com/acidanthera/MacKernelSDK
xcodebuild CONFIGURATION_BUILD_DIR=/$HOME/Desktop/OCRelease
cd /$HOME/Desktop/OC/MacProMemoryNotificationDisabler
git clone https://github.com/acidanthera/MacKernelSDK
xcodebuild CONFIGURATION_BUILD_DIR=/$HOME/Desktop/OCRelease
cd /$HOME/Desktop/OC/RestrictEvents
git clone https://github.com/acidanthera/MacKernelSDK
xcodebuild CONFIGURATION_BUILD_DIR=/$HOME/Desktop/OCRelease
cd /$HOME/Desktop/OC/NVMeFix
git clone https://github.com/acidanthera/MacKernelSDK
xcodebuild CONFIGURATION_BUILD_DIR=/$HOME/Desktop/OCRelease
echo "##### !!! DONE !!! #####"
@startergo
Copy link
Author

startergo commented Jan 18, 2021

  • Download
curl -L https://gist.githubusercontent.com/startergo/23a9444f220438146880959620cc1ed3/raw -o ~/Downloads/OCkextsLilu.command
chmod u+x ~/Downloads/OCkextsLilu.command
  • Run ~/Downloads/OCkextsLilu.command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment