miuu-console-unlocker/Patches/PlatformSetupPatches.cs

16 lines
330 B
C#

using HarmonyLib;
using System;
using MIU;
namespace ConsoleUnlocker.Patches
{
[HarmonyPatch(typeof(PlatformSetup), "GetDevIDs")]
internal class PlatformSetupPatches
{
static void Postfix()
{
GlobalContext.Invoke<DevModeActivated>(Array.Empty<object>());
MIU.Console.Instance.gameObject.SetActive(true);
}
}
}