Skip to content

Commit

Permalink
fix local version
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDanOak committed Jun 13, 2024
1 parent a36e193 commit 5ff06c3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/EoPatcher.UI/Main.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using EoPatcher.Services;
using EoPatcher.Services.VersionFetchers;
using OneOf;
using OneOf.Types;
using System.Diagnostics;
using System.Media;
using System.Reflection;

Expand All @@ -27,7 +24,7 @@ public Main()

private void Main_Shown(object sender, EventArgs e)
{
string version = FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location).FileVersion ?? "0.0.0.0";
string version = Assembly.GetEntryAssembly().GetName().Version.ToString() ?? "0.0.0.0";
lblTitle.Text = $"Endless Online Patcher v{version}";

SetPatchText("Getting local version...");
Expand Down

0 comments on commit 5ff06c3

Please sign in to comment.