Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyrrrz committed May 31, 2024
1 parent 46d8deb commit 520c06d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DiscordChatExporter.Gui/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ namespace DiscordChatExporter.Gui;

public static class Program
{
private static Assembly Assembly { get; } = typeof(App).Assembly;
private static Assembly Assembly { get; } = Assembly.GetExecutingAssembly();

public static string Name { get; } = Assembly.GetName().Name!;
public static string Name { get; } = Assembly.GetName().Name ?? "DiscordChatExporter";

public static Version Version { get; } = Assembly.GetName().Version!;
public static Version Version { get; } = Assembly.GetName().Version ?? new Version(0, 0, 0);

public static string VersionString { get; } = Version.ToString(3);

Expand Down

0 comments on commit 520c06d

Please sign in to comment.