Skip to content

Commit

Permalink
isolate version to core project file
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzyhau committed Jan 10, 2024
1 parent 1db68a4 commit fcfed43
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions Core/FEZRepacker.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

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

<Version>1.0.0</Version>

</PropertyGroup>

<Target Name="ILRepacker" AfterTargets="Build" Condition="'$(Configuration)' == 'ReleaseRepacked'">
Expand Down
10 changes: 5 additions & 5 deletions Interface/Program.cs
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
using System.Globalization;

using FEZRepacker.Converter.XNB;

namespace FEZRepacker.Interface
{
internal class Program
{
static void Main(string[] args)
{
string version = typeof(XnbConverter).Assembly.GetName().Version?.ToString() ?? "";
version = string.Join(".", version.Split('.').Take(3));
// showoff
Console.WriteLine(
"================================================\n" +
"= FEZRepacker 0.4 by Krzyhau & FEZModding Team =\n" +
"================================================\n"
);
Console.WriteLine($"=== FEZRepacker {version} by Krzyhau & FEZModding Team ===\n");

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

0 comments on commit fcfed43

Please sign in to comment.