From cdb712deb7e1c0b50893655c1ba0f8f4d4d84a70 Mon Sep 17 00:00:00 2001 From: TheTechnician27 Date: Sun, 9 Feb 2025 15:51:10 -0600 Subject: [PATCH] Build: Change AppImage WM_CLASS from AppRun.wrapped --- .github/workflows/scripts/linux/appimage-qt.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/scripts/linux/appimage-qt.sh b/.github/workflows/scripts/linux/appimage-qt.sh index d22a635b50..2d34f15ecf 100755 --- a/.github/workflows/scripts/linux/appimage-qt.sh +++ b/.github/workflows/scripts/linux/appimage-qt.sh @@ -212,6 +212,11 @@ if [[ "${GIT_VERSION}" == "" ]]; then fi fi +# Changes WM_CLASS name to the correct one instead of AppRun.wrapped (helps GNOME) +sed 's/Exec=AppRun.wrapped/Exec=net.pcsx2.PCSX2/g' $OUTDIR/usr/share/applications/net.pcsx2.PCSX2.desktop + rm -f "$NAME.AppImage" ARCH=x86_64 VERSION="${GIT_VERSION}" "$APPIMAGETOOL" -s "$OUTDIR" && mv ./*.AppImage "$NAME.AppImage" +# Changes WM_CLASS name to the correct one instead of AppRun.Wrapped (helps GNOME) +sed 's/Exec=AppRun.wrapped/Exec=net.pcsx2.PCSX2/g' $OUTDIR/usr/share/applications/net.pcsx2.PCSX2.desktop \ No newline at end of file