KSP-ModularManagement / KSPe

Extensions and utilities for Kerbal Space Program
http://ksp.lisias.net/add-ons/KSPAPIExtensions
Other
11 stars 6 forks source link

Fix the Installchecker for correctly explaining where to install things #38

Closed Lisias closed 1 year ago

Lisias commented 1 year ago

Right now, KSPe's Install Checker is doing the Right Thing™, but it's failing to communicate correctly the results on some borderline situations.

On a case insensitive filesystem, by example, if the user renames the GameData to Gamedata, KSPe's Install checker will complain correctly, but it will print the wrong pathname both on the Dialog as on the log.

See this post on Forum for an in field example.

[LOG 23:07:12.406] [KSP-Recall] ERROR: KSP-Recall should be installed on [E:\SteamLibrary\steamapps\common\Kerbal Space Program\Gamedata\999_KSP-Recall\], not on [E:\SteamLibrary\steamapps\common\Kerbal Space Program\Gamedata\999_KSP-Recall\Plugins\]. at error:0
Lisias commented 1 year ago

This was already fixed on commit https://github.com/net-lisias-ksp/KSPe/commit/9aa7e1f08221007a5cd1bfeccfbc62c16ce8b83b and https://github.com/net-lisias-ksp/KSPe/commit/245c8a0efb3b3358d27cee047421b86da5537158 and it was published on Release 2.4.2.7 !