Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Client update downloaded through browser?

A topic by surashu created Jul 16, 2017 Views: 798 Replies: 6
Viewing posts 1 to 4

I just got a notification for an update to the itch.io client but when I click on "Download Now" it opens it on the system's default browser.

Is this intended behavior? I could've sworn, updates before were done in-app within the client itself before.

You're absolutely right - the app first tries to update itself, and if that fails, it falls back to letting you download the latest itchSetup.exe

For example, when I tested v23.4.2 locally, it failed for me because I didn't have enough disk space. Would you mind sending me your `%LOCALAPPDATA%/itch/SquirrelSetup.log` file? (preferably pasted to https://gist.github.com/, then post the link here) - I'm curious why it failed for you!

(4 edits)

I don't think there's much info here but here you go.

For what it's worth, I remember distinctly that the itch.io installation folder had 2 subfolders in it. app-23.4.0 and app-23.4.1. After I installed app-23.4.2 manually as above, both the old folders are gone now. As well as the Windows 10 custom tile icon that I have for itch.io.

(+1)

Yeah unfortunately the log doesn't have any info on the previous failure because you installed 23.4.2 manually afterwards.

Having 2 subfolders is normal, Squirrel.Windows keeps around the previous version of the app in case something goes terribly wrong, so there's something to go back to.

I've been working on our own installer so we don't have to use Squirrel.Windows anymore, because its failures are hard to look into :(

Here's the new system (not ready yet): https://github.com/itchio/itchSetup

(+1)

I don't think it's that big a deal when the update fails and the installer has to be re-downloaded. But I read on the itchSetup repo that it's going to have some of the technology behind butler (I assume smaller diffed patches) then all the more power to you! Keep making itch.io awesome

moved this topic to itch app Development

I have had a similar issue, as I stated in another post, and I have been directed to post my SquirrelSetup.log here. Be forewarned: I did not remove anything from this large text file. Thank you in advance for anything!

https://gist.github.com/anonymous/9ef3be2c8c4081e36a96297301bcb37e

(+2)

The important line here is this one:

2017-07-16 12:07:05> IEnableLogger: Failed downloading URL: http://nuts.itch.zone/download/23.4.2/itch-23.4.2-delta.nupkg: System.Net.WebException: An exception occurred during a WebClient request. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host

It just looks like it's that the file is too big to be downloaded from start to finish via your connection :( For this release, the `delta` package is about 80MB (whereas the full release is about 120MB), so it's still pretty big.

As I posted earlier, I'm hoping to deploy itchSetup soon: https://github.com/itchio/itchSetup - this will definitely work for poor connections since it knows how to resume a download when it gets cut off (which is what happened for you, repeatedly)