diff --git a/TransparentWall/Plugin.cs b/TransparentWall/Plugin.cs index 333d13a..ebe3200 100644 --- a/TransparentWall/Plugin.cs +++ b/TransparentWall/Plugin.cs @@ -1,4 +1,5 @@ -using IPA; +using Hive.Versioning; +using IPA; using IPA.Config; using IPA.Loader; using TransparentWall.Gameplay; @@ -14,7 +15,7 @@ namespace TransparentWall public class Plugin { public static string PluginName => "TransparentWall"; - public static SemVer.Version PluginVersion { get; private set; } = new SemVer.Version("0.0.0"); // Default + public static Version PluginVersion { get; private set; } = new Version("0.0.0"); [Init] public void Init(IPALogger logger, Config config, PluginMetadata metadata) @@ -22,9 +23,9 @@ public void Init(IPALogger logger, Config config, PluginMetadata metadata) Logger.Log = logger; Configuration.Init(config); - if (metadata?.Version != null) + if (metadata?.HVersion != null) { - PluginVersion = metadata.Version; + PluginVersion = metadata.HVersion; } } diff --git a/TransparentWall/Properties/AssemblyInfo.cs b/TransparentWall/Properties/AssemblyInfo.cs index 74f1338..dd1bf3e 100644 --- a/TransparentWall/Properties/AssemblyInfo.cs +++ b/TransparentWall/Properties/AssemblyInfo.cs @@ -28,5 +28,5 @@ // Build Number // Revision // -[assembly: AssemblyVersion("1.7.0.0")] -[assembly: AssemblyFileVersion("1.7.0.0")] +[assembly: AssemblyVersion("1.7.1.0")] +[assembly: AssemblyFileVersion("1.7.1.0")] diff --git a/TransparentWall/TransparentWall.csproj b/TransparentWall/TransparentWall.csproj index b2b8851..0a7d54e 100644 --- a/TransparentWall/TransparentWall.csproj +++ b/TransparentWall/TransparentWall.csproj @@ -43,6 +43,10 @@ $(BeatSaberDir)\Plugins\BS_Utils.dll False + + $(BeatSaberDir)\Libs\Hive.Versioning.dll + False + $(BeatSaberDir)\Beat Saber_Data\Managed\HMLib.dll False @@ -59,10 +63,6 @@ $(BeatSaberDir)\Beat Saber_Data\Managed\Main.dll False - - $(BeatSaberDir)\Libs\SemVer.dll - False - $(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.CoreModule.dll diff --git a/TransparentWall/manifest.json b/TransparentWall/manifest.json index 0b50bbf..e391982 100644 --- a/TransparentWall/manifest.json +++ b/TransparentWall/manifest.json @@ -5,15 +5,15 @@ "#![TransparentWall.Resources.description.md]", "Makes the walls transparent" ], - "gameVersion": "1.16.1", + "gameVersion": "1.18.0", "icon": "TransparentWall.Resources.icon.png", "id": "TransparentWall", "name": "TransparentWall", - "version": "1.7.0", + "version": "1.7.1", "dependsOn": { - "BSIPA": "^4.1.4", - "BeatSaberMarkupLanguage": "^1.5.1", - "BS Utils": "^1.8.0" + "BSIPA": "^4.2.0", + "BeatSaberMarkupLanguage": "^1.5.9", + "BS Utils": "^1.11.0" }, "links": { "project-home": "https://github.com/Pespiri/BSTransparentWall",