Skip to content

Commit

Permalink
Merge #4044 Support Windows KSP1 instances on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed Feb 28, 2024
2 parents 726adac + 5ee6ae0 commit 3b16d38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ All notable changes to this project will be documented in this file.
- [Multiple] Prompt for client upgrade when newer spec is found (#4026 by: HebaruSan)
- [GUI] Ability to clear auto-installed flag from changeset tab (#4033 by: HebaruSan)
- [Multiple] New Crowdin updates (#4019 by: Olympic1, vinix38; reviewed: HebaruSan)
- [Core] Support Windows KSP1 instances on Linux (#4044 by: HebaruSan)

### Bugfixes

Expand Down
4 changes: 3 additions & 1 deletion Core/Games/KerbalSpaceProgram.cs
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,9 @@ public GameVersion DetectVersion(DirectoryInfo where)
public string[] InstanceAnchorFiles =>
// KSP.app is a directory :(
Platform.IsMac ? new string[] { "buildID64.txt", "buildID.txt" }
: Platform.IsUnix ? new string[] { "KSP.x86_64", "KSP.x86" }
: Platform.IsUnix ? new string[] { "KSP.x86_64", "KSP.x86",
// Windows EXEs via Proton on Linux
"KSP_x64.exe", "KSP.exe" }
: new string[] { "KSP_x64.exe", "KSP.exe" };

public Uri DefaultRepositoryURL => new Uri("https://github.com/KSP-CKAN/CKAN-meta/archive/master.tar.gz");
Expand Down

0 comments on commit 3b16d38

Please sign in to comment.