Skip to content

Commit

Permalink
Flatpak: Fix net9 paths
Browse files Browse the repository at this point in the history
  • Loading branch information
cyanfish committed Dec 31, 2024
1 parent 6571a5c commit 98a962f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions NAPS2.Setup/config/linux/com.naps2.Naps2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ modules:
- name: main
buildsystem: simple
build-options:
append-path: /usr/lib/sdk/dotnet8/bin
append-ld-library-path: /usr/lib/sdk/dotnet8/lib
append-path: /usr/lib/sdk/dotnet9/bin
append-ld-library-path: /usr/lib/sdk/dotnet9/lib
env:
PKG_CONFIG_PATH: /app/lib/pkgconfig:/app/share/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/lib/dotnet8/lib/pkgconfig
PKG_CONFIG_PATH: /app/lib/pkgconfig:/app/share/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/lib/dotnet9/lib/pkgconfig
DOTNET_CLI_TELEMETRY_OPTOUT: 'true'
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 'true'
arch:
Expand All @@ -97,7 +97,7 @@ modules:
build-commands:
- mkdir -p /app/bin
- dotnet publish NAPS2.App.Gtk -c Release -r $RUNTIME --self-contained /p:DebugType=None /p:DebugSymbols=false --source ./nuget-sources
- cp -r --remove-destination /run/build/main/NAPS2.App.Gtk/bin/Release/net8/$RUNTIME/publish/. /app/bin/
- cp -r --remove-destination /run/build/main/NAPS2.App.Gtk/bin/Release/net9/$RUNTIME/publish/. /app/bin/
- install -Dm644 com.naps2.Naps2.png /app/share/icons/hicolor/128x128/apps/com.naps2.Naps2.png
- install -Dm644 com.naps2.Naps2.metainfo.xml /app/share/metainfo/com.naps2.Naps2.metainfo.xml
- install -Dm644 com.naps2.Naps2.desktop /app/share/applications/com.naps2.Naps2.desktop
Expand Down

0 comments on commit 98a962f

Please sign in to comment.