Skip to content

Commit

Permalink
make BepInEx plugin for automatic version checking
Browse files Browse the repository at this point in the history
  • Loading branch information
BlazingTwist committed Mar 12, 2023
1 parent 1bcb1c7 commit 60d2b1b
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 2 deletions.
2 changes: 2 additions & 0 deletions BTHarmonyUtils.sln.DotSettings
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean x:Key="/Default/UserDictionary/Words/=BTHU/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
1 change: 1 addition & 0 deletions BTHarmonyUtils.sln.DotSettings.user
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=D_003A_005CProgrammierung_005CVisualStudioProjects_005CBTHarmonyUtils_005CBepInEx_005FDependencies_005CBepInEx_002Edll/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=D_003A_005CProgrammierung_005CVisualStudioProjects_005CBTHarmonyUtils_005CBepInEx_005FDependencies_005CBepInEx_002EHarmony_002Edll/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=D_003A_005CProgrammierung_005CVisualStudioProjects_005CBTHarmonyUtils_005CBepInEx_005FDependencies_005CMono_002ECecil_002Edll/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=D_003A_005CProgrammierung_005CVisualStudioProjects_005CBTHarmonyUtils_005CBepInEx_005FDependencies_005CUnityEngine_002Edll/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=brfalse/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=fnptrtype/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Ldarg/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
4 changes: 2 additions & 2 deletions BTHarmonyUtils/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.1.0.0")]
[assembly: AssemblyFileVersion("0.1.0.0")]
[assembly: AssemblyVersion("0.0.0.0")]
[assembly: AssemblyFileVersion("0.0.0.0")]
30 changes: 30 additions & 0 deletions BTHarmonyUtils/src/BTHarmonyUtilsPlugin.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
using BepInEx;
using JetBrains.Annotations;

namespace BTHarmonyUtils {

/// <summary>
/// BTHarmonyUtils plugin
/// </summary>
[PublicAPI]
[BepInPlugin(pluginGuid, pluginName, pluginVersion)]
public class BTHarmonyUtilsPlugin : BaseUnityPlugin {

/// <summary>
/// BTHU plugin guid
/// </summary>
public const string pluginGuid = "blazingtwist.harmonyutils";

/// <summary>
/// BTHU plugin display-name
/// </summary>
public const string pluginName = "BT Harmony Utils";

/// <summary>
/// BTHU plugin version
/// </summary>
public const string pluginVersion = "0.2.0";

}

}

0 comments on commit 60d2b1b

Please # to comment.