Skip to content

Conversation

@DavidObando
Copy link
Member

@DavidObando DavidObando commented Nov 29, 2024

This change allows the winget task in its modality of installing a package to be more adaptive by:

  • If the task is running under system, it will try to get installers that work in the system scope (SystemOrUnknown).
  • If the task is running under user, it will try to get installers that work in the user scope (UserOrUnknown).
  • If the first attempt to install is unsuccessful because no installer was found under that scope, it will retry the operation with the Any scope.
  • If the first attempt is unsuccessful in any other way, or if the second attempt is unsuccessful, the task is marked as failed.
  • If either the first or second attempt is successful, the task is marked as successful.

@DavidObando DavidObando merged commit dd384d6 into main Dec 3, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants