Skip to content

Commit

Permalink
Update Loader.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
scrim-dev committed Dec 4, 2024
1 parent 6a7e919 commit 9d422b4
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Catalyss.ML/Loader.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
using Catalyss.ML;
using MelonLoader;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;

[assembly: MelonInfo(typeof(Loader), "Catalyss Loader", "1.0", "Scrimmane (Scrim)")]
[assembly: MelonGame("KisSoft", "ATLYSS")]
[assembly: MelonPriority(0)]
Expand All @@ -27,6 +25,10 @@ public override void OnInitializeMelon()
try { Directory.CreateDirectory(dllLoc); }
catch { MelonLogger.Error("Failed to load directory."); }
}
else
{
MelonLogger.Msg("Catalyss path found.");
}
}

public override void OnLateInitializeMelon()
Expand Down Expand Up @@ -56,6 +58,7 @@ internal static void LoadDll(string dllPath)
{
MelonLogger.Msg($"Found and invoking entry point.");
entryMethod.Invoke(null, null);
MelonLogger.Msg("Catalyss Loaded!");
}
else
{
Expand Down

0 comments on commit 9d422b4

Please sign in to comment.