From ca35f11ad47817a8075b5483e45007d89bc48a97 Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk Date: Thu, 5 May 2022 12:07:28 -0600 Subject: [PATCH] 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 --- resources/sys_patch_auto.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/sys_patch_auto.py b/resources/sys_patch_auto.py index 84889d32a..5069ef21c 100644 --- a/resources/sys_patch_auto.py +++ b/resources/sys_patch_auto.py @@ -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",