From ecca9f2c72fd794c9e9181f35e9c6b21d1db23bb Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk <48863253+khronokernel@users.noreply.github.com> Date: Fri, 21 May 2021 09:27:26 -0600 Subject: [PATCH] Clean unused function --- OCLP-CLI.command | 6 ------ OpenCore-Patcher.command | 6 ------ 2 files changed, 12 deletions(-) diff --git a/OCLP-CLI.command b/OCLP-CLI.command index 75389a9c3..80d62db3b 100755 --- a/OCLP-CLI.command +++ b/OCLP-CLI.command @@ -166,12 +166,6 @@ class OpenCoreLegacyPatcher(): print("- Set System Volume unpatching") self.unpatch_vol() - def hexswap(self, input_hex: str): - hex_pairs = [input_hex[i:i + 2] for i in range(0, len(input_hex), 2)] - hex_rev = hex_pairs[::-1] - hex_str = "".join(["".join(x) for x in hex_rev]) - return hex_str.upper() - def patch_vol(self): SysPatch.PatchSysVolume(self.constants.custom_model or self.current_model, self.constants).start_patch() diff --git a/OpenCore-Patcher.command b/OpenCore-Patcher.command index be77bfc75..95a904a83 100755 --- a/OpenCore-Patcher.command +++ b/OpenCore-Patcher.command @@ -68,12 +68,6 @@ class OpenCoreLegacyPatcher(): else: self.constants.recovery_status = False - def hexswap(self, input_hex: str): - hex_pairs = [input_hex[i:i + 2] for i in range(0, len(input_hex), 2)] - hex_rev = hex_pairs[::-1] - hex_str = "".join(["".join(x) for x in hex_rev]) - return hex_str.upper() - def build_opencore(self): Build.BuildOpenCore(self.constants.custom_model or self.current_model, self.constants).build_opencore()