Skip to content

Commit

Permalink
Added BepinProcess attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
Metious committed Jul 8, 2024
1 parent ecf439d commit 0d24867
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 0d24867

Please sign in to comment.