From 98a962ff9027fc1a36e1357ce636dc76c578f83a Mon Sep 17 00:00:00 2001 From: Ben Olden-Cooligan Date: Tue, 31 Dec 2024 11:15:25 -0800 Subject: [PATCH] Flatpak: Fix net9 paths --- NAPS2.Setup/config/linux/com.naps2.Naps2.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/NAPS2.Setup/config/linux/com.naps2.Naps2.yml b/NAPS2.Setup/config/linux/com.naps2.Naps2.yml index b828f74072..cd4b52cc38 100644 --- a/NAPS2.Setup/config/linux/com.naps2.Naps2.yml +++ b/NAPS2.Setup/config/linux/com.naps2.Naps2.yml @@ -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: @@ -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