Skip to content

WingetCreate commands should work with anonymized paths #483

@mdanish-kh

Description

@mdanish-kh

Description of the new feature / enhancement

wingetcreate should accept paths substituted with environment variables. This applies to wingetcreate submit and also other commands that support --out option.

Scenario

As a user when I run a command like

wingetcreate update jqlang.jq --version 60.0.0 -u https://github.com/stedolan/jq/releases/download/jq-1.5/jq-win64.exe

At the end of the update, the output shows

Manifest saved to %USERPROFILE%\manifests\j\jqlang\jq\60.0.0

Manifest validation succeeded: True

When I want to submit the generated manifest through wingetcreate submit and copy-paste the path from the command output, I get:

 ~ wingetcreate submit %USERPROFILE%\manifests\j\jqlang\jq\60.0.0
ERROR: Path does not exist

Proposed technical implementation details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    In-PRIssue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.Needs-Triage

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions