Skip to content

Commit

Permalink
Renamed Mutagen.Bethesda.Synthesis.Constants -> Versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Noggog committed Oct 15, 2020
1 parent 41bb3c1 commit 0b1ad45
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<PropertyGroup>
<Nullable>enable</Nullable>
<WarningsAsErrors>nullable</WarningsAsErrors>
<Version>0.10.2</Version>
<Version>0.10.3</Version>
</PropertyGroup>
</Project>
4 changes: 2 additions & 2 deletions Mutagen.Bethesda.Synthesis/SynthesisPipeline.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ public int Patch<TMod, TModGetter>(
where TMod : class, IMod, TModGetter
where TModGetter : class, IModGetter
{
Console.WriteLine($"Mutagen version: {Constants.MutagenVersion}");
Console.WriteLine($"Synthesis version: {Constants.SynthesisVersion}");
Console.WriteLine($"Mutagen version: {Versions.MutagenVersion}");
Console.WriteLine($"Synthesis version: {Versions.SynthesisVersion}");
if (args.Length == 0)
{
var prefs = userPreferences ?? new UserPreferences();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace Mutagen.Bethesda.Synthesis
{
public static class Constants
public static class Versions
{
public static string MutagenVersion => FileVersionInfo.GetVersionInfo(typeof(FormKey).Assembly.Location)!.ProductVersion.TrimEnd(".0").TrimEnd(".0");
public static string SynthesisVersion => FileVersionInfo.GetVersionInfo(typeof(BaseSynthesis.Constants).Assembly.Location)!.ProductVersion.TrimEnd(".0").TrimEnd(".0");
Expand Down
4 changes: 2 additions & 2 deletions Synthesis.Bethesda.GUI/ViewModels/MainVM.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ public MainVM()

Task.Run(() => Mutagen.Bethesda.WarmupAll.Init()).FireAndForget();

SynthesisVersion = Mutagen.Bethesda.Synthesis.Constants.SynthesisVersion;
MutagenVersion = Mutagen.Bethesda.Synthesis.Constants.MutagenVersion;
SynthesisVersion = Mutagen.Bethesda.Synthesis.Versions.SynthesisVersion;
MutagenVersion = Mutagen.Bethesda.Synthesis.Versions.MutagenVersion;

var latestVersions = Observable.Return(Unit.Default)
.ObserveOn(RxApp.TaskpoolScheduler)
Expand Down

0 comments on commit 0b1ad45

Please sign in to comment.