From 5a98ae2d86ec5ec72af30acd04f878645260ec69 Mon Sep 17 00:00:00 2001 From: qurious-pixel <62252937+qurious-pixel@users.noreply.github.com> Date: Thu, 31 Dec 2020 14:17:16 -0800 Subject: [PATCH 1/5] Update AppRun icon updates --- .github/workflows/AppRun | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/AppRun b/.github/workflows/AppRun index 01d3d17c0..fc1a71511 100644 --- a/.github/workflows/AppRun +++ b/.github/workflows/AppRun @@ -1,5 +1,7 @@ #!/bin/bash +export QT_QPA_PLATFORMTHEME=gtk3 + mkdir -p $HOME/.local/share/icons/hicolor/scalable/apps && cp $APPDIR/yuzu.svg $HOME/.local/share/icons/hicolor/scalable/apps GITVER=`wget -qO- https://www.github.com/pineappleEA/pineapple-src/releases/tag/continuous | grep pineappleEA/pineapple-src/commit/ | cut -d '"' -f 2 | cut -d '/' -f 5 | awk '!x[$0]++'` From 4cdf35cffb55859f16fabfda5ca7bf09f31ef3da Mon Sep 17 00:00:00 2001 From: qurious-pixel <62252937+qurious-pixel@users.noreply.github.com> Date: Thu, 31 Dec 2020 14:18:31 -0800 Subject: [PATCH 2/5] Update update.sh icon updates --- .github/workflows/update.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/update.sh b/.github/workflows/update.sh index 530838d35..f3c3d2578 100644 --- a/.github/workflows/update.sh +++ b/.github/workflows/update.sh @@ -1,5 +1,7 @@ #!/bin/bash +export QT_QPA_PLATFORMTHEME=gtk3 + zenity --question --timeout=10 --title="yuzu updater" --text="New update available. Update now?" --icon-name=yuzu --window-icon=yuzu.svg --height=80 --width=400 answer=$? From c54fa96007492feee9d9ba543de55af616ab15a6 Mon Sep 17 00:00:00 2001 From: qurious-pixel <62252937+qurious-pixel@users.noreply.github.com> Date: Thu, 31 Dec 2020 14:20:36 -0800 Subject: [PATCH 3/5] Update appimage.sh icon updates --- .github/workflows/appimage.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/appimage.sh b/.github/workflows/appimage.sh index 73ee8a47c..c8933c76e 100644 --- a/.github/workflows/appimage.sh +++ b/.github/workflows/appimage.sh @@ -49,6 +49,10 @@ chmod a+x ./squashfs-root/AppRun # /tmp/squashfs-root/AppRun $HOME/squashfs-root/usr/bin/yuzu -appimage -unsupported-allow-new-glibc -no-copy-copyright-files -no-translations -bundle-non-qt-libs /tmp/squashfs-root/AppRun $HOME/squashfs-root/usr/bin/yuzu -unsupported-allow-new-glibc -no-copy-copyright-files -no-translations -bundle-non-qt-libs export PATH=$(readlink -f /tmp/squashfs-root/usr/bin/):$PATH + mkdir $HOME/squashfs-root/usr/plugins/platformthemes/ + cp /opt/qt514/plugins/platformthemes/libqgtk3.so $HOME/squashfs-root/usr/plugins/platformthemes/ + mkdir $HOME/squashfs-root/dist/ + cp /yuzu/dist/yuzu.ico $HOME/squashfs-root/dist/ /tmp/squashfs-root/usr/bin/appimagetool $HOME/squashfs-root version=$(cat /yuzu/README.md | grep -o 'early-access [[:digit:]]*' | cut -c 14-17) mv ./yuzu-x86_64.AppImage /yuzu/artifacts/version/Yuzu-EA-$version.AppImage From 4ca0d6e091843b9664a67aded4d4a39ed907d3d7 Mon Sep 17 00:00:00 2001 From: qurious-pixel <62252937+qurious-pixel@users.noreply.github.com> Date: Thu, 31 Dec 2020 14:26:37 -0800 Subject: [PATCH 4/5] Update build.yml icon updates --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 18c22e420..83f5fb07d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,9 @@ name: AppImage -on: push - +on: + push: + branches: [ main ] + jobs: appimage: name: pineapple bundled as appimage From 594b93b53b451cadfd8403b4ca001ad45603f6c9 Mon Sep 17 00:00:00 2001 From: qurious-pixel <62252937+qurious-pixel@users.noreply.github.com> Date: Thu, 31 Dec 2020 15:05:25 -0800 Subject: [PATCH 5/5] Update yuzu.desktop --- dist/yuzu.desktop | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/yuzu.desktop b/dist/yuzu.desktop index 105080c73..1f26ef1a4 100755 --- a/dist/yuzu.desktop +++ b/dist/yuzu.desktop @@ -6,7 +6,7 @@ GenericName=Switch Emulator Comment=Nintendo Switch video game console emulator Icon=yuzu TryExec=yuzu -Exec=yuzu %f +Exec=env QT_QPA_PLATFORMTHEME=gtk3 yuzu %f Categories=Game;Emulator;Qt; MimeType=application/x-nx-nro;application/x-nx-nso; -Keywords=Switch;Nintendo; \ No newline at end of file +Keywords=Switch;Nintendo;