kc9wwh / macOSUpgrade

Workflow for doing in-place upgrades.
Other
420 stars 103 forks source link

macOS Monterey Compatible Version #179

Closed Bdaskal closed 2 years ago

Bdaskal commented 2 years ago

What: Updated for macOS Monterey Installer compatibility.

Why?: macOS Monterey has a lower storage requirement than macOS Big Sur, and adding additional logic to the function enables 10 GB of additional freedom with upgrades.

How?: Expanded the validate_free_space function with additional logic to separate Monterey and Big Sur Installers

Testing?: Tested to confirm the expanded function is working correctly at differentiating 12.0.1 and 11.6.1 installers and checks for the appropriate amount of free space.

Anything Else?: Corrected a couple of typos for better readability.

Bdaskal commented 2 years ago

Reverted a change because it was duplicating/incompatible with another open pull request.