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]++'` 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 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 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=$? 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;