From f69b5e623bf2408de4b7669faeb9179ddf993ce7 Mon Sep 17 00:00:00 2001 From: EnderIce2 <38536866+EnderIce2@users.noreply.github.com> Date: Mon, 26 Oct 2020 08:42:26 +0200 Subject: [PATCH] Fixed showing wrong version --- MainPlugin.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MainPlugin.cs b/MainPlugin.cs index 82bc259..a3ccb60 100644 --- a/MainPlugin.cs +++ b/MainPlugin.cs @@ -35,7 +35,7 @@ namespace EnderIce2.SDRSharpPlugin LargeImageKey = "image_large", LargeImageText = "SDRSharp", SmallImageKey = "image_small", - SmallImageText = $"SDR-RPC plugin v{Assembly.GetEntryAssembly().GetName().Version} by EnderIce2" + SmallImageText = $"SDR-RPC plugin v{Assembly.LoadFrom("SDR-RPC.dll").GetName().Version} by EnderIce2" // should show the correct version } }; private static DiscordRpcClient client;