Skip to content

[Feature]: CLI should check for updates #392

@nmetulev

Description

@nmetulev

Is your feature request related to a problem? Please describe.

The CLI should let the user known when a new update is available and show them how to update to latest based on how it was installed (winget, exe, npm, etc)

Describe the solution you'd like

The cli should check daily if a new release is available that has a higher version that the current version. if there is, it should print with "v0.x.x is available, run to update". This should only happen at most once a day.

A winapp upgrade command should handle updating the cli based on the install channel:

  • if installed as msix, it would download the latest msix and install it
  • if just an exe, it would download the new exe and swap in place
  • otherwise, if installed via npm or nuget, it would ask the user to use their package manager to update

Additional context

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions