Warn when using development build (#1248)

This commit is contained in:
Oleksii Holub
2024-06-01 00:58:24 +03:00
committed by GitHub
parent 520c06dceb
commit 429801183c
3 changed files with 32 additions and 2 deletions

View File

@@ -15,9 +15,13 @@ public static class Program
public static string VersionString { get; } = Version.ToString(3);
public static bool IsDevelopmentBuild { get; } = Version.Major is <= 0 or >= 999;
public static string ProjectUrl { get; } = "https://github.com/Tyrrrz/DiscordChatExporter";
public static string DocumentationUrl { get; } = ProjectUrl + "/tree/master/.docs";
public static string ProjectReleasesUrl { get; } = $"{ProjectUrl}/releases";
public static string ProjectDocumentationUrl { get; } = ProjectUrl + "/tree/master/.docs";
public static AppBuilder BuildAvaloniaApp() =>
AppBuilder.Configure<App>().UsePlatformDetect().LogToTrace();