Fixed showing wrong version

This commit is contained in:
EnderIce2 2020-10-26 08:42:26 +02:00
parent 78d746af43
commit f69b5e623b

View File

@ -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;