mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-20 22:20:53 +10:00
Clean unused function
This commit is contained in:
@@ -166,12 +166,6 @@ class OpenCoreLegacyPatcher():
|
|||||||
print("- Set System Volume unpatching")
|
print("- Set System Volume unpatching")
|
||||||
self.unpatch_vol()
|
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):
|
def patch_vol(self):
|
||||||
SysPatch.PatchSysVolume(self.constants.custom_model or self.current_model, self.constants).start_patch()
|
SysPatch.PatchSysVolume(self.constants.custom_model or self.current_model, self.constants).start_patch()
|
||||||
|
|
||||||
|
|||||||
@@ -68,12 +68,6 @@ class OpenCoreLegacyPatcher():
|
|||||||
else:
|
else:
|
||||||
self.constants.recovery_status = False
|
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):
|
def build_opencore(self):
|
||||||
Build.BuildOpenCore(self.constants.custom_model or self.current_model, self.constants).build_opencore()
|
Build.BuildOpenCore(self.constants.custom_model or self.current_model, self.constants).build_opencore()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user