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. This is a solution for unsupported Mac, not unsupported monitors!
macOS 10.12.4 or later including High Sierra. (List of tested macOS build)
About 10.13.4 (17E199) and 10.13.5 (17F35e) - 10.13.4 (17E199) and 10.13.5 (17F35e) work well for me but some people undergo unbootable issue.
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; sudo ./NightPatch.sh
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; sudo ./NightPatch.sh --revert
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; sudo ./NightPatch.sh --fix
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; sudo ./NightPatch-beta.sh
If you want to revert using backup, use --revert
. Also using macOS combo Update is --fix
.
- ERROR : Turn off System Integrity Protection before doing this.
: Solution
- 'Password:' ???
: Enter your login password.
- NightPatch repeatedly requires password.
: Update to latest macOS to solve this, or run NightPatch with sudo su
.
- xcrun error
: Try xcode-select --install
command.