eddie3 / gogrepo

Python-based tool for downloading all your GOG.com game and bonus collections to your local computer for full offline enjoyment.
481 stars 114 forks source link

Enhancement request: treat files that begin "patch_" differently from files that begin "setup_" #73

Open CalAlaera opened 10 months ago

CalAlaera commented 10 months ago

GOG doesn't seem to provide a useful way to discriminate between patches (e.g. patch_baldurs_gate_3whatever(66683).exe) and full game installers (e.g. setup_baldurs_gate_3whatever(67171).exe).

It would be great if gogrepo could process what the file name will be, and be configured to act differently depending on whether it matches one of these patterns. For example, if I simply wish to keep an archive of offline installers, I could configure gogrepo to only download files that begin with "setup_".

ToxiClay commented 10 months ago

PR #60 does what you want. My fork includes this functionality, as well as a couple of other enhancements.