macOS下編譯Clover教程

隨著macOS 10.14公測版本的發(fā)布,黑蘋果用戶對Clover新版本的需求提高,想要最新版本的Clover最直接的方法就是源碼編譯,方便快捷,教程如下。

安裝相關(guān)環(huán)境

Xcode

  • Mac App Store商店安裝Xcode
  • 終端下輸入如下命令并按提示安裝
xcode-select --install

python

  • 官網(wǎng)下載安裝即可

準(zhǔn)備編譯腳本Build_Clover.command

  • 輸入如下命令下載編譯腳本并進(jìn)入相應(yīng)目錄
git clone https://github.com/Micky1979/Build_Clover.git && cd Build_Clover
  • 給予執(zhí)行權(quán)限
chmod u+x Build_Clover.command
  • 執(zhí)行腳本,中途會自動(dòng)下載Clover最新源碼,請等待,下載源碼過程以及成功進(jìn)入菜單如圖所示
./Build_Clover.command
image

image

Build_Clover.command菜單解釋

  • update Clover only (no building) 更新Clover源碼不編譯
  • update Clover + force edk2 update (no building) 更新Clover源碼和Build_Clover腳本文件,不編譯
  • run my script on the source 執(zhí)行自定義腳本
  • build existing revision (no update, for testing only) 編譯已存在版本,僅供測試使用
  • build existing revision for release (no update, standard build) 編譯已存在版本,不更新,常規(guī)編譯
  • build existing revision with custom macros enabled 啟用宏的模式下編譯
  • enter Developers mode (only for devs) 進(jìn)入開發(fā)模式
  • Try Clover Configurator Pro.app 嘗試啟動(dòng)Clover Configurator
  • edit the configuration file 編輯配置文件
  • Exit 退出菜單

編譯Clover

腳本菜單中選擇build existing revision for release (no update, standard build)->Standard x64 only->Standard開始編譯,過程請等待。編譯結(jié)束后會自動(dòng)打開clover的pkg安裝包所在目錄。安裝此pkg包即可升級到最新版本的Clover。

image

image

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容