使用产品版本比较
This commit is contained in:
parent
16c34fbc96
commit
e75e022928
@ -42,7 +42,7 @@ namespace FastGithub
|
||||
{
|
||||
try
|
||||
{
|
||||
var version = Assembly.GetEntryAssembly()?.GetName().Version;
|
||||
var version = Assembly.GetEntryAssembly()?.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion;
|
||||
if (version == null)
|
||||
{
|
||||
return;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user