예제 #1
0
 public static NPath MonoBleedingEdgeExecutableForArch(bool use64BitMono)
 {
     if (PlatformUtils.IsWindows() && use64BitMono)
     {
         string[] append = new string[] { "bin-x64", "mono.exe" };
         return(BleedingEdge.Root.Combine(append));
     }
     if (PlatformUtils.IsOSX())
     {
         string[] textArray2 = new string[] { "bin", "mono" };
         return(BleedingEdge.Root.Combine(textArray2));
     }
     return(BleedingEdge.Cli);
 }
예제 #2
0
 private NPath _MonoExecutable(string program)
 {
     string[] append = new string[] { program + (!PlatformUtils.IsWindows() ? "" : ".bat") };
     return(this._installRoot.Combine(append));
 }