From edf86bfb54d31c1a0b02e7d416806d260dd5b7f2 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Mon, 6 Sep 2021 22:12:09 -0500 Subject: add Program.IsCanary, silence noisy logs --- src/slskd/Application/ApplicationState.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/slskd/Application/ApplicationState.cs') diff --git a/src/slskd/Application/ApplicationState.cs b/src/slskd/Application/ApplicationState.cs index 234985bb..823b5c26 100644 --- a/src/slskd/Application/ApplicationState.cs +++ b/src/slskd/Application/ApplicationState.cs @@ -25,7 +25,7 @@ namespace slskd public string Version { get; init; } = Program.InformationalVersion; public string LatestVersion { get; init; } = Program.InformationalVersion; public bool? UpdateAvailable { get; init; } = null; - public bool IsCanary { get; init; } = Program.InformationalVersion.EndsWith("65534"); + public bool IsCanary { get; init; } = Program.IsCanary; public bool PendingReconnect { get; init; } public bool PendingRestart { get; init; } public bool PendingShareRescan { get; init; } -- cgit v1.2.3