Skip to content

Commit

Permalink
remove trailing slashes from referencepath and solutiondir
Browse files Browse the repository at this point in the history
  • Loading branch information
JonnyOThan committed Apr 4, 2024
1 parent dde62a3 commit 864f280
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions KSPCommon.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
<!-- The following properties can be customized per-mod in SolutionName.props-->
<PropertyGroup>
<!-- The root directory of the mod repository -->
<RepoRootPath Condition = " '$(RepoRootPath)' == '' ">$(SolutionDir)</RepoRootPath>
<RepoRootPath Condition = " '$(RepoRootPath)' == '' ">$(SolutionDir.TrimEnd('\'))</RepoRootPath>
<BinariesOutputRelativePath Condition = " '$(BinariesOutputRelativePath)' == '' ">GameData\$(SolutionName)</BinariesOutputRelativePath>

<KSPRoot Condition = " '$(KSPRoot)' == '' ">$(ReferencePath)</KSPRoot>
<KSPRoot Condition = " '$(KSPRoot)' == '' ">$(ReferencePath.TrimEnd('\'))</KSPRoot>
<!--If the reference path isn't set, use the default steam location, but this will be incorrect in lots of cases-->
<KSPRoot Condition = "'$(KSPRoot)' == '' ">C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program</KSPRoot>
</PropertyGroup>
Expand Down

0 comments on commit 864f280

Please sign in to comment.