aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Integrations
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-09-09 21:16:40 -0500
committerGitHub <noreply@github.com>2021-09-09 21:16:40 -0500
commit583325356493c0123a6410e6aa34e60bf148f219 (patch)
treef12cc20285998bbdf5d3313c621429f8096c87ea /src/slskd/Integrations
parent3d645132c2613bcd376ec710e6d1d02e9912cf15 (diff)
parenteae8db1aecdae631edc0f2d370d3c704d49c58b9 (diff)
downloadslskd-583325356493c0123a6410e6aa34e60bf148f219.tar.gz
Merge pull request #191 from slskd/version-check
Add a version check on startup, and elements to the UI to indicate when a new version is available
Diffstat (limited to 'src/slskd/Integrations')
-rw-r--r--src/slskd/Integrations/Pushbullet/PushbulletService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Integrations/Pushbullet/PushbulletService.cs b/src/slskd/Integrations/Pushbullet/PushbulletService.cs
index 1a224321..1ec092eb 100644
--- a/src/slskd/Integrations/Pushbullet/PushbulletService.cs
+++ b/src/slskd/Integrations/Pushbullet/PushbulletService.cs
@@ -140,7 +140,7 @@ namespace slskd.Integrations.Pushbullet
using var http = HttpClientFactory.CreateClient();
- http.DefaultRequestHeaders.UserAgent.TryParseAdd(Program.AppName + Program.Version);
+ http.DefaultRequestHeaders.UserAgent.TryParseAdd($"{Program.AppName} v{Program.Version}");
Log.LogDebug("Sending Pushbullet notification {Title} {Body}", title, body);