Skip to content

Use WinGet COM APIs instead of CLI #2

@Trenly

Description

@Trenly

Instead of callin WinGet commands from PowerShell as a subprocess, it would be better to use the Common Object Model (COM) APIs that WinGet provides.

This should be possible using Kotlin's cinterop functionality.

The COM APIs will provide structured data as the output so that raw text doesn’t need to be parsed. They may, in many cases, even be faster and more efficient than calling the CLI in a background process

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions