Closed blackxfiied closed 3 weeks ago
mdfind
is not reliable but also hardcoding paths is not good as well, because some people might have installed them in different paths.
mdfind
will fail only if you have the macOS searching tool disabled.
mdfind is not reliable but also hardcoding paths is not good as well, because some people might have installed them in different paths.
mdfind will fail only if you have the macOS searching tool disabled.
Seems reasonable to try both, though? Having spotlight disabled is not that uncommon, and I'd wager 99.9% of people will install GPTK in the default path, especially "end users" that just want to play games
Yeah, so if the macOS searching tool is disabled, then poof! heroic can't find gptk or crossover that's kinda detrimental to a pretty large component of a game launcher, wouldn't you argue?
stale
Describe the bug
hi, sorry to be annoying with this one, honestly i have no idea how pull requests work, but i made some modifications to compatibility_layers.ts to make it find crossover and gptk using other more conventional methods than mdfind, as mdfind has proven to be unreliable
instead, this uses find, and fs +: more compatibility i guess -: find and fs assume that the compatibility layers are installed to their default location.
Add logs
Steps to reproduce
n/a
Expected behavior
n/a
Screenshots
No response
Heroic Version
Latest Stable
System Information
Additional information
No response