Change ProductName to MacBookAir7,2 , Remove VoodooHDA, Using AppleALC.

This commit is contained in:
EchoEsprit
2019-11-08 20:05:59 +08:00
parent 2e59173ebf
commit e49f3a4e59
21 changed files with 11400 additions and 257 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/bin/bash
echo "Uninstalling ALCPlugFix. Root user is required."
# check if the root filesystem is writeable (starting with macOS 10.15 Catalina, the root filesystem is read-only by default)
if sudo test ! -w "/"; then
echo "Root filesystem is not writeable. Remounting as read-write and restarting Finder."
sudo mount -uw /
sudo killall Finder
fi
sudo rm /usr/bin/ALCPlugFix
sudo rm /usr/bin/hda-verb
sudo launchctl unload -w /Library/LaunchDaemons/good.win.ALCPlugFix.plist
sudo launchctl remove good.win.ALCPlugFix
sudo rm /Library/LaunchDaemons/good.win.ALCPlugFix.plist
echo "Done!"
exit 0