From 531982841c2480b4f6203625e5aa852ef4eeb4ea Mon Sep 17 00:00:00 2001 From: CorpNewt <12772521+corpnewt@users.noreply.github.com> Date: Wed, 27 Nov 2024 00:24:32 -0600 Subject: [PATCH] Fix recovery printing of " - FULL Install" --- gibMacOS.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gibMacOS.py b/gibMacOS.py index c785d7b..9ff2dce 100755 --- a/gibMacOS.py +++ b/gibMacOS.py @@ -467,13 +467,17 @@ class gibMacOS: lines.append(" ") for num,p in enumerate(self.mac_prods,start=1): var1 = "{}. {} {}".format(str(num).rjust(2), p["title"], p["version"]) + var2 = "" if p["build"].lower() != "unknown": var1 += " ({})".format(p["build"]) if not self.hide_pid: var2 = " - {} - Added {} - {}".format(p["product"], p["date"], p["size"]) if self.find_recovery and p["installer"]: # Show that it's a full installer - var2 += " - FULL Install" + if self.hide_pid: + var1 += " - FULL Install" + else: + var2 += " - FULL Install" lines.append(var1) if not self.hide_pid: lines.append(var2)