Skip to content

Commit fcfed43

Browse files
committed
isolate version to core project file
1 parent 1db68a4 commit fcfed43

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

Core/FEZRepacker.Core.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212

1313
<Configurations>Debug;Release;ReleaseRepacked</Configurations>
1414

15+
<Version>1.0.0</Version>
16+
1517
</PropertyGroup>
1618

1719
<Target Name="ILRepacker" AfterTargets="Build" Condition="'$(Configuration)' == 'ReleaseRepacked'">

Interface/Program.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
using System.Globalization;
22

3+
using FEZRepacker.Converter.XNB;
4+
35
namespace FEZRepacker.Interface
46
{
57
internal class Program
68
{
79
static void Main(string[] args)
810
{
11+
string version = typeof(XnbConverter).Assembly.GetName().Version?.ToString() ?? "";
12+
version = string.Join(".", version.Split('.').Take(3));
913
// showoff
10-
Console.WriteLine(
11-
"================================================\n" +
12-
"= FEZRepacker 0.4 by Krzyhau & FEZModding Team =\n" +
13-
"================================================\n"
14-
);
14+
Console.WriteLine($"=== FEZRepacker {version} by Krzyhau & FEZModding Team ===\n");
1515

1616
// keep number decimals consistent
1717
Thread.CurrentThread.CurrentCulture = CultureInfo.GetCultureInfo("en-GB");

0 commit comments

Comments
 (0)