mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-20 14:10:51 +10:00
Enable NSDefenestratorModeEnabled
This commit is contained in:
@@ -156,8 +156,9 @@ class PatchSysVolume:
|
|||||||
subprocess.run(f"sudo ditto {self.constants.payload_apple_private_frameworks_path_accel} {self.mount_private_frameworks}".split(), stdout=subprocess.PIPE).stdout.decode().strip().encode()
|
subprocess.run(f"sudo ditto {self.constants.payload_apple_private_frameworks_path_accel} {self.mount_private_frameworks}".split(), stdout=subprocess.PIPE).stdout.decode().strip().encode()
|
||||||
|
|
||||||
# Sets AppKit to Catalina Window Drawing codepath
|
# Sets AppKit to Catalina Window Drawing codepath
|
||||||
print("- Disabling NSDefenestratorModeEnabled")
|
# Disabled upon ASentientBot request
|
||||||
subprocess.run("defaults write -g NSDefenestratorModeEnabled -bool false".split(), stdout=subprocess.PIPE).stdout.decode().strip().encode()
|
print("- Enabling NSDefenestratorModeEnabled")
|
||||||
|
subprocess.run("defaults write -g NSDefenestratorModeEnabled -bool true".split(), stdout=subprocess.PIPE).stdout.decode().strip().encode()
|
||||||
|
|
||||||
|
|
||||||
def patch_root_vol(self):
|
def patch_root_vol(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user