mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-20 01:46:13 +00:00
17 lines
373 B
C#
17 lines
373 B
C#
using System.Diagnostics;
|
|
using BepInEx.Unity.Bootstrap;
|
|
|
|
namespace BepInEx.Bootstrap
|
|
{
|
|
public static class Linker
|
|
{
|
|
public static void StartBepInEx()
|
|
{
|
|
var chainloader = new UnityChainloader();
|
|
|
|
chainloader.Initialize(Process.GetCurrentProcess().MainModule.FileName);
|
|
chainloader.Execute();
|
|
}
|
|
}
|
|
}
|