mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-04-29 01:07:47 +00:00
Switch to a new versioning strategy
This commit is contained in:
@@ -17,9 +17,9 @@ public partial class App
|
||||
|
||||
public static string ProjectUrl { get; } = "https://github.com/Tyrrrz/DiscordChatExporter";
|
||||
|
||||
public static string ChangelogUrl { get; } = ProjectUrl + "/blob/master/Changelog.md";
|
||||
public static string LatestReleaseUrl { get; } = ProjectUrl + "/releases/latest";
|
||||
|
||||
public static string DocumentationUrl { get; } = ProjectUrl + "/blob/master/.docs";
|
||||
public static string DocumentationUrl { get; } = ProjectUrl + "/tree/master/.docs";
|
||||
}
|
||||
|
||||
public partial class App
|
||||
|
||||
@@ -124,8 +124,8 @@ public class RootViewModel : Screen, IHandle<NotificationMessage>, IDisposable
|
||||
{
|
||||
Notifications.Enqueue(
|
||||
$"Successfully updated to {App.Name} v{App.VersionString}",
|
||||
"CHANGELOG",
|
||||
() => ProcessEx.StartShellExecute(App.ChangelogUrl)
|
||||
"WHAT'S NEW",
|
||||
() => ProcessEx.StartShellExecute(App.LatestReleaseUrl)
|
||||
);
|
||||
|
||||
_settingsService.LastAppVersion = App.Version;
|
||||
|
||||
Reference in New Issue
Block a user