public void OnApplicationStart() { Instance = this; NCMSettings.LoadSettingsJson(); _harmony = HarmonyInstance.Create("com.circuitlord.beatsaber.notecutminimizer"); try { _harmony.PatchAll(Assembly.GetExecutingAssembly()); } catch (Exception ex) { Log($"Failed to apply harmony patches! {ex}"); } Log("NoteCutMinimizer has started successfully!"); }
public void OnApplicationQuit() { NCMSettings.SaveSettingsJson(); }