{"id":13469436,"url":"https://github.com/pookjw/NightPatch","last_synced_at":"2025-03-26T06:32:13.805Z","repository":{"id":96948400,"uuid":"86487488","full_name":"pookjw/NightPatch","owner":"pookjw","description":"Enable Night Shift on any old Mac models.","archived":false,"fork":false,"pushed_at":"2018-04-05T09:21:11.000Z","size":26012,"stargazers_count":79,"open_issues_count":10,"forks_count":8,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-10-29T23:55:29.631Z","etag":null,"topics":["10-12","10-12-4","10-12-5","10-12-6","10-13","beta","corebrightness","enable","force","high-sierra","mac-os","night","old","on","patch","shift","sierra","turn","unsupported"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pookjw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-28T17:21:29.000Z","updated_at":"2024-03-31T16:12:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"8184e82d-a011-4735-b724-6821bcef0c2a","html_url":"https://github.com/pookjw/NightPatch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pookjw%2FNightPatch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pookjw%2FNightPatch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pookjw%2FNightPatch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pookjw%2FNightPatch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pookjw","download_url":"https://codeload.github.com/pookjw/NightPatch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245604185,"owners_count":20642958,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["10-12","10-12-4","10-12-5","10-12-6","10-13","beta","corebrightness","enable","force","high-sierra","mac-os","night","old","on","patch","shift","sierra","turn","unsupported"],"created_at":"2024-07-31T15:01:39.917Z","updated_at":"2025-03-26T06:32:13.796Z","avatar_url":"https://github.com/pookjw.png","language":"Shell","readme":"![Image](docs/imgae.jpg)\n\n# NightPatch\n\nEnable Night Shift on any old Mac models.\n\nYou have to disable SIP (System Integrity Protection) before applying. [How to disable SIP](http://apple.stackexchange.com/a/209530)\n\nBackup your Mac before applying.\n\nNot compatible with some third-party monitors. This is a solution for unsupported Mac, not unsupported monitors!\n\n## Supported macOS\n\nmacOS 10.12.4 or later including High Sierra. ([List of tested macOS build](docs/list.md))\n\nAbout 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](https://github.com/pookjw/NightPatch/issues/5).\n\n## How to patch\n\nEnter this command on Terminal **without $**.\n\n`$ 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`\n\n## How to revert using backup\n\nYou can revert using backup located on /Library/NightPatch. (NightPatch creates backup automatically when you patch your macOS) Enter this command on Terminal **without $**.\n\n`$ 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`\n\n## How to revert using macOS combo Update\n\nIf 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.\n\n`$ 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`\n\n## How to run beta build\n\nEnter this command on Terminal **without $**.\n\n`$ 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`\n\n- [Stable](https://github.com/pookjw/NightPatch/blob/master/NightPatch.sh) : Version 246\n\n- [Beta](https://github.com/pookjw/NightPatch/blob/master/NightPatch-beta.sh) : Version 247 (changelog: [247](https://github.com/pookjw/NightPatch/commit/31e078eba8bd7bb437d7ef54c8e16c1b79631631))\n\nIf you want to revert using backup, use `--revert`. Also using macOS combo Update is `--fix`.\n\n## Troubleshootings\n\n- ERROR : Turn off System Integrity Protection before doing this.\n\n: [Solution](http://apple.stackexchange.com/a/209530)\n\n- 'Password:' ???\n\n: Enter your login password.\n\n- NightPatch repeatedly requires password.\n\n: Update to latest macOS to solve this, or run NightPatch with `sudo su`.\n\n- xcrun error\n\n: Try `xcode-select --install` command.\n\n## References\n\n[aonez/NightShiftPatcher](https://github.com/aonez/NightShiftPatcher)\n\n[Supported Mac models for Night Shift in Sierra 10.12.4+](https://pikeralpha.wordpress.com/2017/01/30/4398/)\n\n[Supported Mac models for Night Shift in High Sierra 10.13.2](https://pikeralpha.wordpress.com/2017/11/06/supported-mac-models-for-night-shift-in-high-sierra-10-13-2/)\n\n","funding_links":[],"categories":["Shell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpookjw%2FNightPatch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpookjw%2FNightPatch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpookjw%2FNightPatch/lists"}