mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-01-28 22:01:55 +00:00
Clean up
This commit is contained in:
@@ -7,11 +7,11 @@ namespace DiscordChatExporter.Gui;
|
|||||||
|
|
||||||
public static class Program
|
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);
|
public static string VersionString { get; } = Version.ToString(3);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user