thilojaeggi / WinGetty

An open source REST Backend for creating a private WinGet Repo without having to rely on cloud dependencies.
https://wingetty.dev
GNU Affero General Public License v3.0
168 stars 15 forks source link

Error not handled when using an invalid File Link #55

Open gabriel-gfs opened 1 month ago

gabriel-gfs commented 1 month ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Add Package'
  2. Set File Url to 'https://download.documentfoundation.org/libreoffice/stable/24.2.1/win/x86/LibreOffice_24.2.1_Win_x86.msi'
  3. Add Package
  4. Error appears

Expected behavior An Error is shown saying that the url is invalid because the file cannot be found.

Screenshots image

General Information:

Additional context It would also be cool if the Installer Type is preselected automatically depending on the file extension of the file from the Url.