From e1a8cdc1d56ff9be95b327c70e2cfffbda300b10 Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk <48863253+khronokernel@users.noreply.github.com> Date: Fri, 26 Mar 2021 07:49:02 -0600 Subject: [PATCH] Add dot_clean and clarify docs Thanks OKonnel! --- Resources/build.py | 2 ++ docs/POST-INSTALL.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Resources/build.py b/Resources/build.py index bed04b720..70c54b87c 100644 --- a/Resources/build.py +++ b/Resources/build.py @@ -606,6 +606,8 @@ Please build OpenCore first!""" else: print("- Adding Internal Drive icon") shutil.copy(self.constants.icon_path_internal, mount_path) + print("- Cleaning install location") + subprocess.run(f"dot_clean '{mount_path}'".split(), stdout=subprocess.PIPE, stderr=subprocess.PIPE) print("- OpenCore transfer complete") print("\nPress [Enter] to continue.\n") input() diff --git a/docs/POST-INSTALL.md b/docs/POST-INSTALL.md index 12c478fd3..d45a861a8 100644 --- a/docs/POST-INSTALL.md +++ b/docs/POST-INSTALL.md @@ -26,4 +26,4 @@ Here you can change different patcher settings, however the main 2 of interest a * Enable Verbose Mode * Set ShowPicker Mode -Once you've toggled them both off, build your OpenCore EFI once again and install to your desired drive. Now to show OpenCore picker, you can simply hold the "Esc" key. \ No newline at end of file +Once you've toggled them both off, build your OpenCore EFI once again and install to your desired drive. Now to show the OpenCore selector, you can simply hold down the "ESC" key while clicking on EFI boot, then you can release the "ESC" key when you see the cursor arrow at the top left. \ No newline at end of file