microsoft / winget-cli

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
https://learn.microsoft.com/windows/package-manager/
MIT License
22.5k stars 1.39k forks source link

When using the “winget download” option, the downloaded file is not saved. #4511

Closed Inf-Sub closed 4 weeks ago

Inf-Sub commented 4 weeks ago

Brief description of your issue

When using the "winget download" option, the program file is downloaded, checked and deleted instead of saving

Steps to reproduce

winget download --id Git.Git -e --source winget ;

Expected behavior

presence of the file %Temp%\WinGet\Git.Git.2.45.1\Git-2.45.1-64-bit.exe

Actual behavior

the downloaded file is deleted after checking the hash.

Environment

[winget --info]
Windows Package Manager version: 1.7.11261
Windows: Windows.Desktop version: v10.0.19045.4412
Package: Microsoft.DesktopAppInstaller version: v1.22.11261.0
Inf-Sub commented 4 weeks ago

I'm Sorry, I find files in folder "Downloads"