diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-12-07 09:18:07 -0600 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2021-12-07 09:18:07 -0600 |
| commit | f6818c2e2f8511cdd59e6254ce1936d2d82727df (patch) | |
| tree | a19230445b400ec4216ba4029ed7d2b1bb8b4a1d /src/slskd/Application.cs | |
| parent | 0c2ba2651bed499a6421087345dbd84823fcbc24 (diff) | |
| download | slskd-f6818c2e2f8511cdd59e6254ce1936d2d82727df.tar.gz | |
add flag and behavior for development builds
Diffstat (limited to 'src/slskd/Application.cs')
| -rw-r--r-- | src/slskd/Application.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs index 856b898d..021a6c40 100644 --- a/src/slskd/Application.cs +++ b/src/slskd/Application.cs @@ -141,6 +141,12 @@ namespace slskd /// <returns>The operation context.</returns> public async Task CheckVersionAsync() { + if (Program.IsDevelopment) + { + Logger.Information("Skipping version check for Development build"); + return; + } + if (Program.IsCanary) { // todo: use the docker hub API to find the latest canary tag |
