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

Method Save

loader/Main/Config.cs:43–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41 }
42
43 static void Save()
44 {
45 var sb = new StringBuilder();
46
47 foreach (var kv in _data)
48 {
49 var key = kv.Key;
50 var value = kv.Value.Trim();
51
52 var line = $"{key}={value}";
53 sb.AppendLine(line);
54 }
55
56 File.WriteAllText(ConfigPath, sb.ToString());
57 }
58
59 public static string LeaguePath
60 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected