Quacksol / VSInstruments

3 stars 2 forks source link

Directory look up misbehaves on Linux #7

Open TaeruAlethea opened 6 months ago

TaeruAlethea commented 6 months ago

When using some Linux distros, the path variable gets messy and doesn't pull from an appropriate place.

I believe the 'abcBaseDirectory' is to blame. https://github.com/Quacksol/VSInstruments/blob/a95a695d26aff19f6da96118a9b252b1b61ad1c7/src/Instrument.cs#L535

I believe it would work correctly and as expected if the path was derived from a GamePaths. https://apidocs.vintagestory.at/api/Vintagestory.API.Config.GamePaths.html