Skip to content

FR - Detect .BetaEnrollmentData.plist and use the catalog URL within with --include-betas #185

@wakco

Description

@wakco

💡 Description

The issues is finding the appropriate Catalog URL when a new macOS major version has been announced, in the last few Developer betas, I have noticed a /Users/Shared/.BetaEnrollmentData.plist file that contains the installed macOS betas current Catalog URL.

This is different from #183, which is about saving a Catalog URL for automatic use later.

✅ Proposed solution

I'd like to request that when --include-betas is used if the above file exists (and -c/--catalog-url is not used), extract the URL from the file with something like defaults read /Users/Shared/.BetaEnrollmentData.plist | grep https | cut -d '"' -f 2 and use that as the Catalog URL.

🩹 Alternatives Solutions + Workarounds

In the meantime I can do something like mist list installer --include-betas --catalog-url "$( defaults read /Users/Shared/.BetaEnrollmentData.plist | grep https | cut -d '"' -f 2 )" instead.

ℹ️ Additional context

  • Would you also like to see this implemented in Mist.app? ✅

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions