UncleGoogle / galaxy-integration-humblebundle

Humble Bundle integration for GOG Galaxy 2.0
GNU General Public License v3.0
185 stars 19 forks source link

Installed games detection: Limit executable serach to root level #119

Closed UncleGoogle closed 4 years ago

UncleGoogle commented 4 years ago

Resolves #118

Do not serach for executables in all found game directory tree.

As it was seen in mentioned issue, recursive search for executable can take too long time at once (then plugin "crash") and quite long for all installed games (like 2min). It should be enough to look only in base directory level as most Windows Games have executable "on top". MacOS games have its own parser.

I'll investigate later on if there is legitimate request to serach deeper.

Note: this is BREAKING CHANGE, but important to release before 1.0