Browse Source

Add icon for Jellyfin Windows build (#10997)

Add icon to make it easier for Windows users to recognize.

This requires dotnet 8 or newer.

Signed-off-by: nyanmisaka <nst799610810@gmail.com>
Nyanmisaka 1 year ago
parent
commit
64ce3c8411
2 changed files with 5 additions and 0 deletions
  1. 5 0
      Jellyfin.Server/Jellyfin.Server.csproj
  2. BIN
      Jellyfin.Server/Jellyfin.Server.ico

+ 5 - 0
Jellyfin.Server/Jellyfin.Server.csproj

@@ -12,12 +12,17 @@
     <ServerGarbageCollection>false</ServerGarbageCollection>
     <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
     <GenerateDocumentationFile>true</GenerateDocumentationFile>
+    <ApplicationIcon>Jellyfin.Server.ico</ApplicationIcon>
   </PropertyGroup>
 
   <ItemGroup>
     <Compile Include="..\SharedVersion.cs" />
   </ItemGroup>
 
+  <ItemGroup>
+    <Content Include="Jellyfin.Server.ico" />
+  </ItemGroup>
+
   <ItemGroup>
     <EmbeddedResource Include="Resources/Configuration/*" />
   </ItemGroup>

BIN
Jellyfin.Server/Jellyfin.Server.ico