appimage: set WM_CLASS to AppRun.wrapped

This fixes an icon affiliation issue for appimages
This commit is contained in:
GovanifY 2025-02-19 02:18:19 +01:00
parent 9cba11cde5
commit 2b8875ae39
No known key found for this signature in database
GPG Key ID: 11A944C07CE37C4E

View File

@ -122,6 +122,7 @@ done
echo "Copying desktop file..."
cp "$PCSX2DIR/.github/workflows/scripts/linux/pcsx2-qt.desktop" "net.pcsx2.PCSX2.desktop"
sed -i "s/StartupWMClass=PCSX2/StartupWMClass=AppRun.wrapped/g" "net.pcsx2.PCSX2.desktop"
cp "$PCSX2DIR/bin/resources/icons/AppIconLarge.png" "PCSX2.png"
echo "Running linuxdeploy to create AppDir..."