MCPcopy Create free account
hub / github.com/PenguLoader/PenguLoader / GetDir

Method GetDir

loader/Main/LCU.cs:34–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32 public static bool IsRunning => GetUxProcesses().Length > 0;
33
34 public static string GetDir()
35 {
36 var procs = GetUxProcesses();
37 if (procs.Length == 0)
38 return string.Empty;
39
40 var found = procs[0];
41 return Directory.GetParent(found.MainModule.FileName).FullName;
42 }
43
44 public static async Task<string> Request(string api, string method, string body = null)
45 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected