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

Method HandleInstall

loader/Program.cs:68–80  ·  view source on GitHub ↗
(bool createdNew, bool active)

Source from the content-addressed store, hash-verified

66 }
67
68 private static int HandleInstall(bool createdNew, bool active)
69 {
70 if (!createdNew || Module.IsLoaded)
71 {
72 var action = active ? "installing" : "uninstalling";
73 MessageBox.Show($"Please close the running League Client and Loader menu before {action} it.",
74 Name, MessageBoxButton.OK, MessageBoxImage.Information);
75 return -1;
76 }
77
78 Module.SetActive(active);
79 return 0;
80 }
81
82 //static Program()
83 //{

Callers

nothing calls this directly

Calls 1

SetActiveMethod · 0.80

Tested by

no test coverage detected