Catalina is actually already EOL as of July 2022 but we dont need anything from newer releases that isn't detected at runtime. Going to Catalina allows us to use a better format for the generated DMG (UMNO instead of ULFO which compresses better).
readlink -f ~
shell