Пример #1
0
        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!");
        }
Пример #2
0
 public void OnApplicationQuit()
 {
     NCMSettings.SaveSettingsJson();
 }