mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-13 20:28:21 +10:00
sys_patch_auto.py: Change external detection var
Users with external SSDs as macOS installers will report as not removable, however will still report ejectable
This commit is contained in:
@@ -139,8 +139,8 @@ class AutomaticSysPatch:
|
||||
|
||||
disk_info = plistlib.loads(subprocess.run(["diskutil", "info", "-plist", root_disk], stdout=subprocess.PIPE).stdout)
|
||||
try:
|
||||
if disk_info["Removable"] is True:
|
||||
print("- Boot Disk is removable, prompting user to install to internal")
|
||||
if disk_info["Ejectable"] is True:
|
||||
print("- Boot Disk is ejectable, prompting user to install to internal")
|
||||
|
||||
args = [
|
||||
"osascript",
|
||||
|
||||
Reference in New Issue
Block a user