russellbanks / Komac

The Community Manifest Creator for WinGet
GNU General Public License v3.0
199 stars 17 forks source link

[Feature/Idea]: Prompt for update command #417

Open CoolPlayLin opened 7 months ago

CoolPlayLin commented 7 months ago

What would you like to see changed/added?

I want to use command line prompt instead of full command to use Komac sometimes.

image

hlqviet commented 7 months ago

Yes, please. Installer architecture cannot be detected properly if I use the --urls parameter with multiple URLs.

russellbanks commented 7 months ago

Yes, please. Installer architecture cannot be detected properly if I use the --urls parameter with multiple URLs.

@hlqviet Do you have an example?

hlqviet commented 7 months ago

Yes, please. Installer architecture cannot be detected properly if I use the --urls parameter with multiple URLs.

@hlqviet Do you have an example?

Here it is: microsoft/winget-pkgs#137181 I had to manually edit the URL.

One more case that may have issues is with a multilingual app like microsoft/winget-pkgs#135987 but I haven't tested.

russellbanks commented 7 months ago

The issue with the arm64 one is that it says arm64ec. Komac has this process of finding architectures in URLs:

  1. check for {delimiter}{architecture}{delimiter}
  2. check for {architecture}.{extension}

The architectures are in a pre-set list, so I just need to add arm64ec to it. Searching for the architecture without any other patterns doesn't work great because the app ArmCord.ArmCord identifies as an arm architecture when it's not.

ghost commented 7 months ago

Previous versions had command line prompts for komac update which was better for new users and creating manifests without submitting. It provided step-by-step guide for each parameters & for each installer.