rtrouton / rtrouton_scripts

Scripts to share
MIT License
1.3k stars 489 forks source link

updated how to check if Rosetta is installed. #70

Closed bryanheinz closed 3 years ago

bryanheinz commented 3 years ago

If Rosetta 2 gets uninstalled, there's a chance the receipt is still there as observed when having R2 installed on macOS 11.0.0 and upgrading to 11.0.1. This new method checks if the R2 LaunchDaemon exists instead of the package receipt.