winget-pkgs icon indicating copy to clipboard operation
winget-pkgs copied to clipboard

[Package Issue]: Itch.io

Open JunZuloo opened this issue 1 year ago • 4 comments

Please confirm these before moving forward

  • [x] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
  • [x] I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue

Installer hash mismatch.

Brief description of your issue

Starting package install operation for package id=ItchIo.Itch with Manager name=Winget
Given installation options are <InstallationOptions: SkipHashCheck=False;InteractiveInstallation=False;RunAsAdministrator=True;Version=;Architecture=;InstallationScope=;InstallationScope=;CustomParameters=;RemoveDataOnUninstall=False>
Process Executable     : C:\Program Files\UniGetUI\Assets\Utilities\UniGetUI Elevator.exe
Process Call Arguments : "C:\Users\XXX\AppData\Local\Microsoft\WindowsApps\winget.exe"  install --id "ItchIo.Itch" --exact --source winget --accept-source-agreements --disable-interactivity --silent --accept-package-agreements --force
Working Directory      : C:\Users\XXX
Process Start Time     : 01/02/2025 21:42:12
Found itch [ItchIo.Itch] Version 25.5.1
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://itch.io/app/download?platform=windows
██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  1024 KB / 13.6 MB
██████████████████████████████  13.6 MB / 13.6 MB
Installer hash does not match; this cannot be overridden when running as admin
Process Exit Code      : -1978335215
Process End Time       : 01/02/2025 21:42:17

Steps to reproduce

Actual behavior

Expected behavior

Environment

Windows Package Manager v1.9.25200
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.26100.3037
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.24.25200.0

Screenshots and Logs

No response

JunZuloo avatar Feb 01 '25 20:02 JunZuloo

We've found some similar issues:

  • #133470 , similarity score: 83%
  • #182559 , similarity score: 83%
  • #171903 , similarity score: 83%
  • #109022 , similarity score: 82%
  • #95448 , similarity score: 82%

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

similar-issues-ai[bot] avatar Feb 01 '25 20:02 similar-issues-ai[bot]

I am able to duplicate this issue.

Image

SSLbits avatar Feb 02 '25 03:02 SSLbits

The URL does some interesting things

>  curl -IL "https://itch.io/app/download?platform=windows"
HTTP/1.1 302 Moved Temporarily
Date: Sun, 02 Feb 2025 04:02:41 GMT
Content-Type: text/html
Connection: keep-alive
Set-Cookie: itchio_token=WyJ2MWVsIiwxNzM4NDY4OTYxLCJ0djVOQTNFYTExdHluTmMiXQ%3d%3d%2eX8%2fbv2xYMP1RcuQp5d7BXTDIFLk%3d; Path=/; Domain=.itch.io; HttpOnly; Secure
X-Robots-Tag: noindex
Location: https://broth.itch.zone/install-itch/windows-386/LATEST/unpacked/default
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Referrer-Policy: no-referrer-when-downgrade
Server: lapis
X-Cache-Status: BYPASS

Unfortunately, they do not ship the desktop application installer independently. The latest itch.io desktop app stable release build is 26.1.9. This is just the itch-setup installer, 1.27.0. I've submitted a new PR here: https://github.com/microsoft/winget-pkgs/pull/221096

Unless there's objections to this approach, I'll submit another PR to delete itchio.itch and resolve this issue.

SSLbits avatar Feb 02 '25 06:02 SSLbits

@JunZuloo not sure if you've had a chance yet to review the discussion around some proposed changes and weigh in.

SSLbits avatar Feb 05 '25 06:02 SSLbits