Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KSPProfiler loads before KsmUI on case-sensitive filesystems, causing it to fail to load #2

Open
minerscale opened this issue Jul 10, 2024 · 0 comments

Comments

@minerscale
Copy link

Here's a fun one!

On my Linux machine KSPProfiler fails to load because it doesn't have access to KsmUI information when it loads

My guess is that this problem only appears on Linux because GameData folders are loaded in alphabetical order, and on a case-insensitive filesystem 'Ksm' comes before 'KSP' but on a case-sensitive filesystem (such as ones used on linux), 'KSP' comes before 'Ksm' (since the uppercase letters are before lowercase letters). I don't know if this is actually the case, but renaming the 'KsmUI' folder to 'KSMUI' makes the problem go away so it's my best guess.

The real question is why are plugins loaded alphabetically without some kind of dependency system anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant