mirror of
https://github.com/thewesker/osx-patcher.git
synced 2025-12-29 16:37:01 -05:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e14aefd24f | ||
|
|
bca67735ba |
@@ -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/)
|
||||||
|
|||||||
@@ -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}
|
||||||
|
|||||||
BIN
resources/patch/Kernels/10.11/kernel
Executable file
BIN
resources/patch/Kernels/10.11/kernel
Executable file
Binary file not shown.
Reference in New Issue
Block a user