From a40420248032714caf63d6b27a51be36654d6285 Mon Sep 17 00:00:00 2001 From: Metious <71298690+Metious@users.noreply.github.com> Date: Fri, 13 Sep 2024 19:47:38 +0330 Subject: [PATCH] chore: Specified game process (#553) Added BepinProcess attribute --- Nautilus/Initializer.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Nautilus/Initializer.cs b/Nautilus/Initializer.cs index e67761e4..cf74672e 100644 --- a/Nautilus/Initializer.cs +++ b/Nautilus/Initializer.cs @@ -15,8 +15,13 @@ namespace Nautilus; /// /// WARNING: This class is for use only by BepInEx. /// -[BepInPlugin(PluginInfo.PLUGIN_GUID, PluginInfo.PLUGIN_NAME, PluginInfo.PLUGIN_VERSION)] [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] +[BepInPlugin(PluginInfo.PLUGIN_GUID, PluginInfo.PLUGIN_NAME, PluginInfo.PLUGIN_VERSION)] +#if BELOWZERO +[BepInProcess("SubnauticaZero.exe")] +#else +[BepInProcess("Subnautica.exe")] +#endif public class Initializer : BaseUnityPlugin { private static readonly Harmony _harmony = new(PluginInfo.PLUGIN_GUID);