diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-11-14 01:27:10 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-11-14 01:27:10 -0500 |
| commit | 1b06e05cf69815e523faaf9e237461fe0541c7ce (patch) | |
| tree | 359fe31cb03d01cb51a65f6ebd871a6da58ad988 /MediaBrowser.Server.Startup.Common/ApplicationHost.cs | |
| parent | 4f5c7687042148507d5cedfcec81ab355f478f19 (diff) | |
update translations
Diffstat (limited to 'MediaBrowser.Server.Startup.Common/ApplicationHost.cs')
| -rw-r--r-- | MediaBrowser.Server.Startup.Common/ApplicationHost.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs index d8358909e..c4a3562ea 100644 --- a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs +++ b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs @@ -253,6 +253,19 @@ namespace MediaBrowser.Server.Startup.Common NativeApp = nativeApp; } + private Version _version; + /// <summary> + /// Gets the current application version + /// </summary> + /// <value>The application version.</value> + public override Version ApplicationVersion + { + get + { + return _version ?? (_version = NativeApp.GetType().Assembly.GetName().Version); + } + } + public override bool IsRunningAsService { get { return NativeApp.IsRunningAsService; } @@ -327,6 +340,7 @@ namespace MediaBrowser.Server.Startup.Common new PlaylistImages(ServerConfigurationManager).Run(); new RenameXbmcOptions(ServerConfigurationManager).Run(); new RenameXmlOptions(ServerConfigurationManager).Run(); + new DeprecatePlugins(ApplicationPaths).Run(); } /// <summary> |
