From c9098f7556bfa5626b402c4d692b8d0fa1dcbe02 Mon Sep 17 00:00:00 2001 From: DioEgizio <83089242+DioEgizio@users.noreply.github.com> Date: Tue, 13 Jan 2026 15:17:46 +0100 Subject: [PATCH] chore: make appimage use portals for file picking much better than Qt's ugly default one Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com> (cherry picked from commit 1b15643fcd4a33b2a93550d98d9afe93981f0691) --- .github/actions/package/linux/action.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/actions/package/linux/action.yml b/.github/actions/package/linux/action.yml index ef0bc8c3c..38e474202 100644 --- a/.github/actions/package/linux/action.yml +++ b/.github/actions/package/linux/action.yml @@ -78,6 +78,8 @@ runs: # FIXME(@getchoo): gamemode doesn't seem to be very portable with DBus. Find a way to make it work! find "$INSTALL_APPIMAGE_DIR" -name '*gamemode*' -exec rm {} + + #makes the launcher use portals for file picking + echo "QT_QPA_PLATFORMTHEME=xdgdesktopportal" > "$INSTALL_APPIMAGE_DIR"/.env ln -s org.prismlauncher.PrismLauncher.metainfo.xml "$INSTALL_APPIMAGE_DIR"/share/metainfo/org.prismlauncher.PrismLauncher.appdata.xml ln -s share/applications/org.prismlauncher.PrismLauncher.desktop "$INSTALL_APPIMAGE_DIR" ln -s share/icons/hicolor/256x256/apps/org.prismlauncher.PrismLauncher.png "$INSTALL_APPIMAGE_DIR"