From ddf1ee70faccecb1fd6334093dba01b8149f3ae7 Mon Sep 17 00:00:00 2001 From: qurious-pixel <62252937+qurious-pixel@users.noreply.github.com> Date: Sun, 3 Jan 2021 17:29:56 -0800 Subject: [PATCH] fix .desktop file replace Exec=yuzu %f with Exec=env QT_QPA_PLATFORMTHEME=gtk3 yuzu %f using sed --- .github/workflows/appimage.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/appimage.sh b/.github/workflows/appimage.sh index c8933c76e..3d88d4fc2 100644 --- a/.github/workflows/appimage.sh +++ b/.github/workflows/appimage.sh @@ -25,6 +25,7 @@ cp -P "$BUILDBIN"/yuzu $HOME/squashfs-root/usr/bin/ curl -sL https://raw.githubusercontent.com/$GITHUB_REPOSITORY/$BRANCH/dist/yuzu.svg -o ./squashfs-root/yuzu.svg curl -sL https://raw.githubusercontent.com/$GITHUB_REPOSITORY/$BRANCH/dist/yuzu.desktop -o ./squashfs-root/yuzu.desktop + sed -i -e 's#Exec=yuzu %f#Exec=env QT_QPA_PLATFORMTHEME=gtk3 yuzu %f#g' ./squashfs-root/yuzu.desktop curl -sL https://github.com/AppImage/AppImageKit/releases/download/continuous/runtime-x86_64 -o ./squashfs-root/runtime mkdir -p squashfs-root/usr/share/applications && cp ./squashfs-root/yuzu.desktop ./squashfs-root/usr/share/applications mkdir -p squashfs-root/usr/share/icons && cp ./squashfs-root/yuzu.svg ./squashfs-root/usr/share/icons