TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ GetCommandToFindPathOfExecutable()

static string Terraria.ModLoader.UI.UIModSources.GetCommandToFindPathOfExecutable ( )
inlinestaticprivate

Definition at line 442 of file UIModSources.cs.

443 {
444 if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
445 {
446 return "where";
447 }
448 if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux) || RuntimeInformation.IsOSPlatform(OSPlatform.OSX) || RuntimeInformation.IsOSPlatform(OSPlatform.FreeBSD))
449 {
450 return "which";
451 }
452 Logging.tML.Debug((object)"Getting command for finding path of the executable failed due to an unsupported operating system");
453 return null;
454 }

References Terraria.ModLoader.Logging.tML.

Referenced by Terraria.ModLoader.UI.UIModSources.GetPossibleSystemDotnetPaths().

+ Here is the caller graph for this function: