https://zhuanlan.zhihu.com/p/343151907
执行命令前需要关闭SIP(系统完整性保护),具体做法是:
进入恢复模式(开机时按住 command+R 键),在右上角打开系统终端,输入 csrutil disable(禁用)命令,在开启hidpi后可重新使用命令 csrutil enable (开启)。具体可参考,>>传送门
config.plist文件NVRAM -> ADD -> 7C436110-AB2A-4BBB-A880-FE41995C9F82boot-args参数,在最末尾添加 -v
重要提示:避免使用登录和注销脚本的原因有很多:Important: There are numerous reasons to avoid using login and logout scripts:
- 登录和注销脚本是一种不推荐使用的技术。在大多数情况下,您应该改用launchd作业,如创建启动守护程序和代理中所述。
- Login and logout scripts are a deprecated technology. In most cases, you should use launchd jobs instead, as described inCreating Launch Daemons and Agents.
- 登录和注销脚本以 root 身份运行,这存在安全风险。
- Login and logout scripts are run as root, which presents a security risk.
- 一次只能安装每个脚本中的一个。它们适用于系统管理员;应用程序开发人员不应在已发布的软件中使用它们。
- Only one of each script can be installed at a time. They are intended for system administrators; application developers should not use them in released software.
今天是2021年9月14日。
到今天为止,我已经使用 MacOS 作为主力系统,已经有了2年左右的时间。
不得不说,我现在已经深深的爱上了 MacOS。如果我需要购买下一台笔记本,我一定会购买 MacBookPro高配。
注:以下仅针对类似配置机型,即9代
Intel的CPU,其他机型请绕道
OpenCore里面配置二进制均为倒序,例如下面的platform-id,如果需要修改其他机型的,需要倒序后再填入platform-id黑果小兵大神整理的Coffee Lake帧缓冲区补丁及UHD630 Coffee Lake ig-platform-id数据整理黑果小兵大神整理的黑苹果必备:Intel核显platform ID整理及smbios速查表https://blog.daliansky.net/Intel-core-display-platformID-finishing.html
下载整包后,如果之前在 Clover 时就使用iMac19,1机型,可直接使用之前的三码,或使用 Clover Configurator (其他工具亦可)选择iMac19,1机型生成新的三码 + ROM,用 ProperTree 打开/EFI/OC/config.plist文件,填入到 PlatformInfo > Generic 位置中(如下图)。
参考文章:
OpenSSL 1.1.1kcurl最新版,注意编译时需要OpenSSL和cacert.pem证书http://git-scm.com/ 下载并安装最新版本的git1 | |
目前有4个Python脚本,打算使用一条命令,同时执行这4个脚本,如何操作呢?
我目前采用的办法比较简陋,使用了5个shell脚本来实现,不知道还有没有更好的方法。
1 | |
