Skip to content

Commit

Permalink
Update version info.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasz Cichoń authored and Tomasz Cichoń committed Nov 16, 2019
1 parent 72992f4 commit 53c1f92
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Centrifuge.UnityInterop/Centrifuge.UnityInterop.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<Copyright>Copyright 2019 © Centrifuge Project</Copyright>
<OutputPath>bin\$(Configuration)\</OutputPath>
<AssemblyVersion>1.0.0</AssemblyVersion>
<Version>2.0.3</Version>
<FileVersion>2.0.3</FileVersion>
<Version>2.1.0</Version>
<FileVersion>2.1.0</FileVersion>
<LangVersion>8.0</LangVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
Expand Down
4 changes: 3 additions & 1 deletion Centrifuge/Bootstrap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using Centrifuge.UnityInterop.Builders;
using Centrifuge.UnityInterop.DataModel;
using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;

Expand All @@ -19,7 +20,6 @@ static Bootstrap()

public static void Initialize()
{
var version = Assembly.GetAssembly(typeof(Bootstrap)).GetName().Version;

foreach (var arg in Environment.GetCommandLineArgs())
{
Expand All @@ -39,6 +39,8 @@ public static void Initialize()
}
}

var version = FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location).FileVersion;

EarlyLog.Info($"Centrifuge bootstrap for Reactor Mod Loader and API. Version {version}. Unity {ApplicationBridge.UnityVersion}");

if (ConsoleEnabled)
Expand Down
4 changes: 2 additions & 2 deletions Centrifuge/Centrifuge.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<Description>Centrifuge Bootstrapper module</Description>
<Copyright>Copyright 2019 © Centrifuge Project</Copyright>
<AssemblyVersion>2.0.0</AssemblyVersion>
<Version>2.0.3</Version>
<FileVersion>2.0.3</FileVersion>
<Version>2.1.0</Version>
<FileVersion>2.1.0</FileVersion>
<LangVersion>8.0</LangVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<OutputPath>bin\$(Configuration)\</OutputPath>
Expand Down

0 comments on commit 53c1f92

Please sign in to comment.