-
-
Notifications
You must be signed in to change notification settings - Fork 348
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
Detect and use Windows KSP2 executable on Linux #3984
Detect and use Windows KSP2 executable on Linux #3984
Conversation
Thanks for the suggestion, but did you test this? I would expect it to still not work via Proton because the If/when there is a Linux build, we'll need this code, and in the meantime it doesn't fix a known problem to remove code that only runs on an unsupported platform. |
I think what would make sense here is to use the CKAN/Core/Games/KerbalSpaceProgram.cs Lines 178 to 185 in 71ee319
If |
I'm confused about this. As far as I know, neither CKAN nor Mono invokes |
Side note, both games can also be launched with KSP1: steam://run/220200 Some users may prefer this, but of course it's only valid if the game instance is the default one installed under Steam. Making this the default would generate a lot of confusion if it launched the default Steam instance when CKAN had a different game folder open. And of course many users would hate seeing the extra launchers. |
That console output occurs only when I click the I can reliably get that |
Aha, found it! Yes, Mono's So |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the pull request! Running the Windows EXE if it's there makes sense.
Brilliant! Thanks so much for your thorough investigation and clean fix! |
There is no official, unique KSP2 build for Linux. We can remove this reference to and assumption about the unsupported Unix platform.
This also has the positive indirect effect of treating the executable paths for Linux and Windows as identical (which appears to be the case for Proton installations).