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:
Mykola Grymalyuk
2022-05-05 12:07:28 -06:00
parent 49ee43f6ed
commit ca35f11ad4

View File

@@ -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",