mirror of
https://github.com/outbackdingo/OpCore-Simplify.git
synced 2026-08-25 14:53:06 +00:00
Refactor folder creation function
This commit is contained in:
@@ -379,7 +379,7 @@ class builder:
|
||||
def build_efi(self, hardware, macos_version):
|
||||
efi_directory = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), "Results")
|
||||
|
||||
self.utils.mkdirs(efi_directory)
|
||||
self.utils.create_folder(efi_directory, remove_content=True)
|
||||
|
||||
if not os.path.exists(self.kext.ock_files_dir):
|
||||
raise Exception("Directory '{}' does not exist.".format(self.kext.ock_files_dir))
|
||||
|
||||
Reference in New Issue
Block a user