mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
Fixed the versioning
This commit is contained in:
parent
6a39637408
commit
9946c80f3f
3 changed files with 14 additions and 4 deletions
|
@ -6,10 +6,8 @@ namespace Ombi.Helpers
|
|||
{
|
||||
public static string GetRuntimeVersion()
|
||||
{
|
||||
var version = Assembly.GetEntryAssembly()
|
||||
.GetCustomAttribute<AssemblyInformationalVersionAttribute>()
|
||||
.InformationalVersion;
|
||||
return version.Equals("1.0.0") ? "4.0.0-develop" : version;
|
||||
ApplicationEnvironment app = PlatformServices.Default.Application;
|
||||
return app.ApplicationVersion;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue