Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
Pespiri committed Sep 28, 2021
1 parent 7046eb0 commit c2812ba
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 15 deletions.
9 changes: 5 additions & 4 deletions TransparentWall/Plugin.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using IPA;
using Hive.Versioning;
using IPA;
using IPA.Config;
using IPA.Loader;
using TransparentWall.Gameplay;
Expand All @@ -14,17 +15,17 @@ 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)
{
Logger.Log = logger;
Configuration.Init(config);

if (metadata?.Version != null)
if (metadata?.HVersion != null)
{
PluginVersion = metadata.Version;
PluginVersion = metadata.HVersion;
}
}

Expand Down
4 changes: 2 additions & 2 deletions TransparentWall/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
8 changes: 4 additions & 4 deletions TransparentWall/TransparentWall.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@
<HintPath>$(BeatSaberDir)\Plugins\BS_Utils.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Hive.Versioning">
<HintPath>$(BeatSaberDir)\Libs\Hive.Versioning.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="HMLib">
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\HMLib.dll</HintPath>
<Private>False</Private>
Expand All @@ -59,10 +63,6 @@
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\Main.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="SemVer">
<HintPath>$(BeatSaberDir)\Libs\SemVer.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
<Reference Include="UnityEngine.CoreModule">
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
Expand Down
10 changes: 5 additions & 5 deletions TransparentWall/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit c2812ba

Please sign in to comment.