1
0
mirror of synced 2024-11-27 15:30:50 +01:00

chore: Update BepInEx.PluginInfoProps

This commit is contained in:
Repflez 2023-01-11 15:37:25 -07:00
parent 229a22968e
commit 962fdab1f3
3 changed files with 7 additions and 7 deletions

View File

@ -7,7 +7,7 @@ using HarmonyLib;
namespace TaikoModStuff 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 #if !BEPIN_5
public class Plugin : BasePlugin public class Plugin : BasePlugin
#else #else
@ -81,7 +81,7 @@ namespace TaikoModStuff
"Hit \"Escape\" on your keyboard to quickly quit a song and return to Song Select."); "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(FontChanger));
instance.PatchAll(typeof(CustomResolution)); instance.PatchAll(typeof(CustomResolution));
instance.PatchAll(typeof(ForceFramerate)); instance.PatchAll(typeof(ForceFramerate));
@ -98,9 +98,9 @@ namespace TaikoModStuff
// Plugin startup logic // Plugin startup logic
#if !BEPIN_5 #if !BEPIN_5
Log.LogInfo($"Plugin {PluginInfo.PLUGIN_GUID} is loaded!"); Log.LogInfo($"Plugin {MyPluginInfo.PLUGIN_GUID} is loaded!");
#else #else
Logger.LogInfo($"Plugin {PluginInfo.PLUGIN_GUID} is loaded!"); Logger.LogInfo($"Plugin {MyPluginInfo.PLUGIN_GUID} is loaded!");
#endif #endif
} }
} }

View File

@ -24,7 +24,7 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="BepInEx.Analyzers" Version="1.*" PrivateAssets="all" /> <PackageReference Include="BepInEx.Analyzers" Version="1.*" PrivateAssets="all" />
<PackageReference Include="BepInEx.Core" Version="5.*" /> <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="UnityEngine.Modules" Version="2020.3.19" IncludeAssets="compile" />
<PackageReference Include="Taiko.GameLibs" Version="1.2.2-r.0" PrivateAssets="all" /> <PackageReference Include="Taiko.GameLibs" Version="1.2.2-r.0" PrivateAssets="all" />
</ItemGroup> </ItemGroup>

View File

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