#### 重建 Kexts 缓存命令 ```bash sudo rm /System/Library/PrelinkedKernels/prelinkedkernel sudo rm /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache sudo chmod -R 755 /System/Library/Extensions sudo chmod -R 755 /Library/Extensions sudo chown -R root:wheel /System/Library/Extensions sudo chown -R root:wheel /Library/Extensions sudo touch /System/Library/Extensions sudo touch /Library/Extensions sudo kextcache -q -update-volume / sudo kextcache -system-caches sudo kextcache -i / ``` --- #### 允许安装任何来源软件 ##### 允许 ```bash sudo spctl --master-disable ``` ##### 不允许 ```bash sudo spctl --master-enable ``` #### Finder 显示隐藏文件 --- ##### 开启显示隐藏文件 ```bash defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder ``` ##### 关闭显示隐藏文件 ```bash defaults write com.apple.finder AppleShowAllFiles -boolean false ; killall Finder ``` Last modification:September 8th, 2019 at 05:31 pm © 允许规范转载 Support If you think my article is useful to you, please feel free to appreciate ×Close Appreciate the author Sweeping payments Pay by AliPay Pay by WeChat