فهرست منبع

Merge pull request #628 from nvllsvm/name

Update Product Name (User-Agent)
Joshua M. Boniface 6 سال پیش
والد
کامیت
3a5e3ade01
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      Emby.Server.Implementations/ApplicationHost.cs
  2. 1 1
      Emby.Server.Implementations/Properties/AssemblyInfo.cs

+ 1 - 1
Emby.Server.Implementations/ApplicationHost.cs

@@ -462,7 +462,7 @@ namespace Emby.Server.Implementations
         /// Gets the name.
         /// </summary>
         /// <value>The name.</value>
-        public string Name => "Jellyfin Server";
+        public string Name => ApplicationProductName;
 
         private static Tuple<Assembly, string> GetAssembly(Type type)
         {

+ 1 - 1
Emby.Server.Implementations/Properties/AssemblyInfo.cs

@@ -9,7 +9,7 @@ using System.Runtime.InteropServices;
 [assembly: AssemblyDescription("")]
 [assembly: AssemblyConfiguration("")]
 [assembly: AssemblyCompany("Jellyfin Project")]
-[assembly: AssemblyProduct("Jellyfin: The Free Software Media System")]
+[assembly: AssemblyProduct("Jellyfin Server")]
 [assembly: AssemblyCopyright("Copyright ©  2019 Jellyfin Contributors. Code released under the GNU General Public License Version 2")]
 [assembly: AssemblyTrademark("")]
 [assembly: AssemblyCulture("")]