winget-cli icon indicating copy to clipboard operation
winget-cli copied to clipboard

Show PurchaseUrl if present in manifest

Open Trenly opened this issue 2 years ago • 0 comments

This does not take into account any of the entitlement checking for the MSStore source; The only change this should have is to Pre-Indexed and Rest sources where, if the PurchaseUrl is present in the manifest, the URL will be displayed.

As part of this I have also taken the many if statements for checking if fields are empty and moved them into a function for ease of readability.

Loosely related to #1345

Microsoft Reviewers: Open in CodeFlow

Trenly avatar Aug 04 '22 01:08 Trenly

/azp run

JohnMcPMS avatar Aug 12 '22 16:08 JohnMcPMS

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Aug 12 '22 16:08 azure-pipelines[bot]

Looks good to me, will defer to @yao-msft for sign-off and merge

ryfu-msft avatar Aug 23 '22 18:08 ryfu-msft

/azp run

yao-msft avatar Aug 23 '22 19:08 yao-msft

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Aug 23 '22 19:08 azure-pipelines[bot]