aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Program.cs8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/slskd/Program.cs b/src/slskd/Program.cs
index cfc95013..915306c8 100644
--- a/src/slskd/Program.cs
+++ b/src/slskd/Program.cs
@@ -162,6 +162,10 @@ namespace slskd
/// <param name="args">Command line arguments.</param>
public static void Main(string[] args)
{
+ Console.WriteLine(AssemblyVersion.Revision);
+ Console.WriteLine(AssemblyVersion.Revision == 65534);
+ Console.WriteLine(IsCanary);
+
// populate the properties above so that we can override the default config file if needed, and to
// check if the application is being run in command mode (run task and quit).
EnvironmentVariables.Populate(prefix: EnvironmentVariablePrefix);
@@ -289,7 +293,7 @@ namespace slskd
logger.Information("Version: {Version}", Version);
- if (!IsCanary)
+ if (IsCanary)
{
logger.Warning("This is a canary build");
logger.Warning("Canary builds are considered UNSTABLE and may be completely BROKEN");
@@ -537,7 +541,7 @@ namespace slskd
│ │
│{centeredVersion}│";
- if (!IsCanary)
+ if (IsCanary)
{
banner += "\n│■■■■■■■■■■■■■■■■■■■■■■■► CANARY ◄■■■■■■■■■■■■■■■■■■■■■■■│";
}