microsoft / microsoft/winget-create

Have to press enter twice for installerURL

Open
#588 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Bug
Dominant language
C#
Stars
651
Forks
114
Avg merge
7h 52m
Merged PRs (30d)
3

Description

Brief description of your issue

When I run wingetcreate new and paste in the InstallerUrls value and press enter, wingetcreate needs me to press ENTER twice to continue.

Steps to reproduce
  1. Run wingetcreate new
  2. Paste in the InstallerUrls value
  3. Press enter
Expected behavior

Example with this URL https://github.com/imsnif/bandwhich/releases/download/v0.23.1/bandwhich-v0.23.1-x86_64-pc-windows-msvc.zip
Taken from https://github.com/imsnif/bandwhich/releases

Expect wingetcreate to download and parse before asking me series of questions:
Image

Actual behavior

The URL pops below the InstallerUrls text and I have to press ENTER again.

After pasting in URL:
Image

After pressing ENTER once:
Image

After pressing ENTER twice:
Image

Environment
Windows Package Manager Manifest Creator v1.9.4.0
Copyright (c) Microsoft Corporation. All rights reserved.

Operating System: Microsoft Windows NT 10.0.19045.0
System Architecture: X64

Winget-Create Directories  Path                                                                                         
------------------------------------------------------------------------------------------------------------------------------------------
Logs                       %LOCALAPPDATA%\Packages\Microsoft.WindowsPackageManagerManifestCreator_8wekyb3d8bbwe\LocalState\DiagOutputDir
User settings              %LOCALAPPDATA%\Packages\Microsoft.WindowsPackageManagerManifestCreator_8wekyb3d8bbwe\LocalState\settings.json
Installer cache            %TEMP%\wingetcreate                                                                          

Links
------------------------------------------------------------------
Privacy Statement    https://aka.ms/winget-create-privacy
License Agreement    https://aka.ms/winget-create-license
Third Party Notices  https://aka.ms/winget-create-3rdPartyNotice
Homepage             https://aka.ms/winget-create

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running wingetcreate new on Windows and trace the prompt handling for the InstallerUrls value, using the reproduction steps and screenshots as the behavioral reference. Done means pasting the example URL and pressing Enter once proceeds to download and parse it before continuing with the questions.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.