Skip to content

Commit

Permalink
chore: Update BepInEx.PluginInfoProps
Browse files Browse the repository at this point in the history
  • Loading branch information
Repflez committed Jan 11, 2023
1 parent 229a229 commit 962fdab
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Plugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace TaikoModStuff
{
[BepInPlugin(PluginInfo.PLUGIN_GUID, PluginInfo.PLUGIN_NAME, PluginInfo.PLUGIN_VERSION)]
[BepInPlugin(MyPluginInfo.PLUGIN_GUID, MyPluginInfo.PLUGIN_NAME, MyPluginInfo.PLUGIN_VERSION)]
#if !BEPIN_5
public class Plugin : BasePlugin
#else
Expand Down Expand Up @@ -81,7 +81,7 @@ private void Awake()
"Hit \"Escape\" on your keyboard to quickly quit a song and return to Song Select.");


var instance = new Harmony(PluginInfo.PLUGIN_NAME);
var instance = new Harmony(MyPluginInfo.PLUGIN_NAME);
instance.PatchAll(typeof(FontChanger));
instance.PatchAll(typeof(CustomResolution));
instance.PatchAll(typeof(ForceFramerate));
Expand All @@ -98,9 +98,9 @@ private void Awake()

// Plugin startup logic
#if !BEPIN_5
Log.LogInfo($"Plugin {PluginInfo.PLUGIN_GUID} is loaded!");
Log.LogInfo($"Plugin {MyPluginInfo.PLUGIN_GUID} is loaded!");
#else
Logger.LogInfo($"Plugin {PluginInfo.PLUGIN_GUID} is loaded!");
Logger.LogInfo($"Plugin {MyPluginInfo.PLUGIN_GUID} is loaded!");
#endif
}
}
Expand Down
2 changes: 1 addition & 1 deletion TaikoModStuff-Bepin5.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<ItemGroup>
<PackageReference Include="BepInEx.Analyzers" Version="1.*" PrivateAssets="all" />
<PackageReference Include="BepInEx.Core" Version="5.*" />
<PackageReference Include="BepInEx.PluginInfoProps" Version="1.*" />
<PackageReference Include="BepInEx.PluginInfoProps" Version="2.1.0" />
<PackageReference Include="UnityEngine.Modules" Version="2020.3.19" IncludeAssets="compile" />
<PackageReference Include="Taiko.GameLibs" Version="1.2.2-r.0" PrivateAssets="all" />
</ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions TaikoModStuff-Bepin6.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="BepInEx.PluginInfoProps" Version="1.*" />
<PackageReference Include="BepInEx.Unity.IL2CPP" Version="6.0.0-be.663" />
<PackageReference Include="BepInEx.PluginInfoProps" Version="2.1.0" />
<PackageReference Include="BepInEx.Unity.IL2CPP" Version="6.0.0-be.663" IncludeAssets="compile" />
<PackageReference Include="UnityEngine.Modules" Version="2020.3.19" IncludeAssets="compile" />
</ItemGroup>

Expand Down

0 comments on commit 962fdab

Please sign in to comment.