itchio / itch

🎮 The best way to play your itch.io games
https://itch.io/app
MIT License
2.38k stars 209 forks source link

Use unpacked build file when available #1599

Closed fasterthanlime closed 6 years ago

fasterthanlime commented 6 years ago

When, for example, an .msi file is pushed using butler, it ends up:

up until now butler used to only use the archive build file, which means it extracted for installation, then realized what it had just "installed" was an .msi installer (or another kind of installer), and had to jump through all kinds of other hoops to make sure it's installed properly.

Having it use unpacked would allow it to do the install in a single step, instead of realizing its mistake later.

However, right now the API doesn't have a download url for unpacked, only for patch, signature and archive.

fasterthanlime commented 6 years ago

Closed in https://github.com/itchio/butler/commit/146737156f838f033be7935a1a4c31a6ee8ae821