Skip to content

Commit

Permalink
Publish as net471
Browse files Browse the repository at this point in the history
  • Loading branch information
crobibero committed May 17, 2024
1 parent 6fd2959 commit e0a79c2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/_meta-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,17 @@ jobs:
Invoke-WebRequest '${{ inputs.server_url }}' -OutFile 'jellyfin.zip'
Expand-Archive 'jellyfin.zip'
Copy-Item ".\Support Files\LICENSE" -Destination $(Resolve-Path .\jellyfin\jellyfin)
- name: Add NSSM
run: |
Invoke-WebRequest 'https://repo.jellyfin.org/releases/other/nssm.zip' -OutFile 'nssm.zip'
Expand-Archive 'nssm.zip'
Copy-Item ".\nssm\nssm.exe" -Destination $(Resolve-Path .\jellyfin\jellyfin)
- name: Publish Tray
run: dotnet publish -c Release -r win-x64 --no-self-contained --output $(Resolve-Path .\jellyfin\jellyfin)
run: |
dotnet publish -c Release -r win-x64 -f net471 --no-self-contained
Copy-Item ".\artifacts\publish\Jellyfin.Windows.Tray\release_net471_win-x64\*" -Destination $(Resolve-Path .\jellyfin\jellyfin)
- name: Build installer
run: |
Expand Down
5 changes: 5 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<Project>
<PropertyGroup>
<UseArtifactsOutput>true</UseArtifactsOutput>
</PropertyGroup>
</Project>
4 changes: 2 additions & 2 deletions Jellyfin.Windows.Tray/Jellyfin.Windows.Tray.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net481</TargetFramework>
<TargetFrameworks>net481;net471</TargetFrameworks>
<UseWindowsForms>true</UseWindowsForms>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<RuntimeIdentifiers>win-arm64;win-x64</RuntimeIdentifiers>
<ApplicationIcon>JellyfinIcon.ico</ApplicationIcon>
<PublishTrimmed>false</PublishTrimmed>
<PublishSingleFile>false</PublishSingleFile>
Expand Down

0 comments on commit e0a79c2

Please sign in to comment.