2 Commits
1.1 ... master

Author SHA1 Message Date
Julian-Marius-Fairfax
e14aefd24f Update README.md 2020-04-30 13:11:58 +02:00
Julian-Marius-Fairfax
bca67735ba Fix 10.11 security update issue 2020-04-20 11:07:26 +02:00
3 changed files with 7 additions and 1 deletions

View File

@@ -3,7 +3,7 @@
# OS X Patcher # OS X Patcher
OS X Patcher is a command line tool for running OS X on unsupported Macs OS X Patcher is a command line tool for running OS X on unsupported Macs
# Contributers # Contributors
I'd like to the thank the following people, and many others, for their research, help, and inspiration. I'd like to the thank the following people, and many others, for their research, help, and inspiration.
- [parrotgeek1](https://forums.macrumors.com/members/1033441/) - [parrotgeek1](https://forums.macrumors.com/members/1033441/)
- [TMRJIJ](https://forums.macrumors.com/members/tmrjij.878094/) - [TMRJIJ](https://forums.macrumors.com/members/tmrjij.878094/)

View File

@@ -331,6 +331,12 @@ Patch_Volume()
Output_Off rm "$volume_path"/System/Library/CoreServices/PlatformSupport.plist Output_Off rm "$volume_path"/System/Library/CoreServices/PlatformSupport.plist
echo -e $(date "+%b %m %H:%M:%S") ${move_up}${erase_line}${text_success}"+ Patched platform support check."${erase_style} echo -e $(date "+%b %m %H:%M:%S") ${move_up}${erase_line}${text_success}"+ Patched platform support check."${erase_style}
if [[ $volume_version_short == "10.11" ]]; then
echo -e $(date "+%b %m %H:%M:%S") ${text_progress}"> Patching kernel."${erase_style}
cp "$resources_path"/Kernels/"$volume_version_short"/kernel "$volume_path"/System/Library/Kernels
echo -e $(date "+%b %m %H:%M:%S") ${move_up}${erase_line}${text_success}"+ Patched kernel."${erase_style}
fi
echo -e $(date "+%b %m %H:%M:%S") ${text_progress}"> Patching kernel flags."${erase_style} echo -e $(date "+%b %m %H:%M:%S") ${text_progress}"> Patching kernel flags."${erase_style}
sed -i '' 's|<string></string>|<string>kext-dev-mode=1 mbasd=1</string>|' "$volume_path"/Library/Preferences/SystemConfiguration/com.apple.Boot.plist sed -i '' 's|<string></string>|<string>kext-dev-mode=1 mbasd=1</string>|' "$volume_path"/Library/Preferences/SystemConfiguration/com.apple.Boot.plist
echo -e $(date "+%b %m %H:%M:%S") ${move_up}${erase_line}${text_success}"+ Patched kernel flags."${erase_style} echo -e $(date "+%b %m %H:%M:%S") ${move_up}${erase_line}${text_success}"+ Patched kernel flags."${erase_style}

Binary file not shown.