Skip to content

Commit

Permalink
Fix path detection on non-Windows Core
Browse files Browse the repository at this point in the history
  • Loading branch information
Popax21 authored Sep 6, 2023
1 parent a22c3a3 commit 819bfec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CelesteMod/CelesteMod.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<AssemblyName>CelesteMod</AssemblyName>
<RootNamespace>Celeste.Mod.CelesteMod</RootNamespace>
<LangVersion>latest</LangVersion>
<CelestePrefix Condition="'$(CelestePrefix)' == '' And Exists('..\..\Celeste.exe')">..\..</CelestePrefix>
<CelestePrefix Condition="'$(CelestePrefix)' == '' And Exists('..\..\..\Celeste.exe')">..\..\..</CelestePrefix>
<CelestePrefix Condition="'$(CelestePrefix)' == '' And (Exists('..\..\Celeste.exe') Or Exists('..\..\Celeste.dll'))">..\..</CelestePrefix>
<CelestePrefix Condition="'$(CelestePrefix)' == '' And (Exists('..\..\..\Celeste.exe') Or Exists('..\..\..\Celeste.dll'))">..\..\..</CelestePrefix>
<CelestePrefix Condition="'$(CelestePrefix)' == ''">lib-stripped</CelestePrefix>

<!-- Use the legacy reference dir for Core installs -->
Expand Down

0 comments on commit 819bfec

Please sign in to comment.