Skip to content

Commit

Permalink
Fix for old mono versions
Browse files Browse the repository at this point in the history
  • Loading branch information
UnknownShadow200 committed Oct 9, 2024
1 parent 0dc86b3 commit 29e205e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions MCGalaxy/Modules/Compiling/CompilerBackends.cs
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,9 @@ protected override string GetExecutable() {
string root = RuntimeEnvironment.GetRuntimeDirectory();

string[] paths = new string[] {
Path.Combine(root, "csc.exe"), // C# compiler
Path.Combine(root, "mcs.exe"), // old Mono C# compiler
Path.Combine(root, "mcs"), // old Mono C# compiler
Path.Combine(root, "csc.exe"), // C# compiler
Path.Combine(root, @"../bin/mcs"), // old Mono C# compiler
Path.Combine(root, "mcs.exe"), // old Mono C# compiler
};

foreach (string path in paths)
Expand Down

0 comments on commit 29e205e

Please sign in to comment.