Skip to content

Commit

Permalink
chore: Specified game process (#553)
Browse files Browse the repository at this point in the history
Added BepinProcess attribute
  • Loading branch information
Metious committed Sep 13, 2024
1 parent fc75154 commit a404202
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Nautilus/Initializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,13 @@ namespace Nautilus;
/// <summary>
/// WARNING: This class is for use only by BepInEx.
/// </summary>
[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);
Expand Down

0 comments on commit a404202

Please sign in to comment.