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;