NightPatch
Enable Night Shift on any old Mac models.
You have to disable SIP (System Integrity Protection) before applying. How to disable SIP
Backup your Mac before applying.
Not compatible with some third-party monitors.
Supported macOS
macOS 10.12.4 or later including High Sierra. (List of tested macOS build)
How to patch
Enter this command on Terminal without $.
$ cd /tmp; curl -s -o NightPatch.zip https://codeload.github.com/pookjw/NightPatch/zip/master; unzip -o -qq NightPatch.zip; cd NightPatch-master; chmod +x NightPatch.sh; ./NightPatch.sh
How to revert using backup
You can revert using backup located on /Library/NightPatch. (NightPatch creates backup automatically when you patch your macOS) Enter this command on Terminal without $.
$ cd /tmp; curl -s -o NightPatch.zip https://codeload.github.com/pookjw/NightPatch/zip/master; unzip -o -qq NightPatch.zip; cd NightPatch-master; chmod +x NightPatch.sh; ./NightPatch.sh --revert
How to revert using macOS combo Update
If you deleted backup (or not backed up with NightPatch), enter this command on Terminal without $. NightPatch will download original system file from Apple. This method works without backup.
$ cd /tmp; curl -s -o NightPatch.zip https://codeload.github.com/pookjw/NightPatch/zip/master; unzip -o -qq NightPatch.zip; cd NightPatch-master; chmod +x NightPatch.sh; ./NightPatch.sh --fix
Troubleshootings
- ERROR : Turn off System Integrity Protection before doing this.
: Solution
- 'Password:' ???
: Enter your login password.
- xcrun error
: Try xcode-select --install
command.