Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combine listitem steps for installation and validation #30

Closed
dan-snelson opened this issue Jan 11, 2023 · 1 comment
Closed

Combine listitem steps for installation and validation #30

dan-snelson opened this issue Jan 11, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@dan-snelson
Copy link
Owner

Note: While all requests are welcome, finding available cycles to custom-code a feature we won't use in our production environment is always challenging.

Is your feature request related to a problem? Please describe.
As pointed out by @roiegat on the Mac Admin's Slack #setup-yourmac Channel, combine listitem steps for installation and validation.

Describe the solution you'd like

Current:

policy_array=('
{
    "steps": [
        {
            "listitem": "Rosetta",
            "icon": "8bac19160fabb0c8e7bac97b37b51d2ac8f38b7100b6357642d9505645d37b52",
            "progresstext": "Rosetta enables a Mac with Apple silicon to use apps built for a Mac with an Intel processor.",
            "trigger_list": [
                {
                    "trigger": "rosettaInstall",
                    "validation": "None"
                }
            ]
        },
        {
            "listitem": "Rosetta Services (Local)",
            "icon": "8bac19160fabb0c8e7bac97b37b51d2ac8f38b7100b6357642d9505645d37b52",
            "progresstext": "Locally validating Rosetta service …",
            "trigger_list": [
                {
                    "trigger": "rosetta",
                    "validation": "Local"
                }
            ]
        },

Proposed:

policy_array=('
{
    "steps": [
        {
            "listitem": "Rosetta",
            "icon": "8bac19160fabb0c8e7bac97b37b51d2ac8f38b7100b6357642d9505645d37b52",
            "progresstext": "Rosetta enables a Mac with Apple silicon to use apps built for a Mac with an Intel processor.",
            "trigger_list": [
                {
                    "trigger": "rosettaInstall",
                    "validation": "None"
                },
                {
                    "trigger": "rosetta",
                    "validation": "Local"
                }
            ]
        },
@dan-snelson dan-snelson added the enhancement New feature or request label Jan 11, 2023
@dan-snelson dan-snelson self-assigned this Jan 11, 2023
@dan-snelson
Copy link
Owner Author

Addressed in 1.7.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant