-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
85 changed files
with
628 additions
and
2,615 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/bash | ||
|
||
|
||
path=${0%/*} | ||
sudo cp -a "$path/ALCPlugFix" /usr/bin | ||
sudo chmod 755 /usr/bin/ALCPlugFix | ||
sudo chown root:wheel /usr/bin/ALCPlugFix | ||
sudo cp -a "$path/hda-verb" /usr/bin | ||
sudo chmod 755 /usr/bin/hda-verb | ||
sudo chown root:wheel /usr/bin/hda-verb | ||
sudo cp -a "$path/good.win.ALCPlugFix.plist" /Library/LaunchAgents/ | ||
sudo chmod 644 /Library/LaunchAgents/good.win.ALCPlugFix.plist | ||
sudo chown root:wheel /Library/LaunchAgents/good.win.ALCPlugFix.plist | ||
sudo launchctl load /Library/LaunchAgents/good.win.ALCPlugFix.plist | ||
echo 'The installation of the ALCPlugFix daemon is complete' | ||
echo 'Rebuild kextcache, please wait...' | ||
sudo chmod -Rf 755 /S*/L*/E* | ||
sudo chown -Rf 0:0 /S*/L*/E* | ||
sudo chmod -Rf 755 /L*/E* | ||
sudo chown -Rf 0:0 /L*/E* | ||
sudo rm -Rf /S*/L*/PrelinkedKernels/* | ||
sudo rm -Rf /S*/L*/Caches/com.apple.kext.caches/* | ||
sudo touch -f /S*/L*/E* | ||
sudo touch -f /L*/E* | ||
sudo kextcache -Boot -U / | ||
echo 'Rebuild kextcache is complete' | ||
bash read -p 'Press any key to Exit' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
|
||
|
||
path=${0%/*} | ||
sudo launchctl remove /Library/LaunchAgents/good.win.ALCPlugFix.plist | ||
sudo rm -rf /Library/LaunchAgents/good.win.ALCPlugFix.plist | ||
sudo rm -rf /usr/bin/ALCPlugFix | ||
|
||
echo '重建缓存中,请稍候……' | ||
sudo chmod -Rf 755 /S*/L*/E* | ||
sudo chown -Rf 0:0 /S*/L*/E* | ||
sudo chmod -Rf 755 /L*/E* | ||
sudo chown -Rf 0:0 /L*/E* | ||
sudo rm -Rf /S*/L*/PrelinkedKernels/* | ||
sudo rm -Rf /S*/L*/Caches/com.apple.kext.caches/* | ||
sudo touch -f /S*/L*/E* | ||
sudo touch -f /L*/E* | ||
sudo kextcache -Boot -U / | ||
echo '卸载ALCPlugFix守护进程完成!' | ||
bash read -p '按任何键退出' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
|
||
|
||
path=${0%/*} | ||
sudo launchctl remove /Library/LaunchAgents/good.win.ALCPlugFix.plist | ||
sudo rm -rf /Library/LaunchAgents/good.win.ALCPlugFix.plist | ||
sudo rm -rf /usr/bin/ALCPlugFix | ||
|
||
echo 'Rebuilding Kext Cache,please wait……' | ||
sudo chmod -Rf 755 /S*/L*/E* | ||
sudo chown -Rf 0:0 /S*/L*/E* | ||
sudo chmod -Rf 755 /L*/E* | ||
sudo chown -Rf 0:0 /L*/E* | ||
sudo rm -Rf /S*/L*/PrelinkedKernels/* | ||
sudo rm -Rf /S*/L*/Caches/com.apple.kext.caches/* | ||
sudo touch -f /S*/L*/E* | ||
sudo touch -f /L*/E* | ||
sudo kextcache -Boot -U / | ||
echo 'Uninstall the ALCPlugFix daemon complete!' | ||
bash read -p 'Press any key to exit' |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.