Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish tray app as net471 for x64 #122

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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