forked from etc/pineapple-src
commit
cb7b6ecaea
5 changed files with 14 additions and 4 deletions
2
.github/workflows/AppRun
vendored
2
.github/workflows/AppRun
vendored
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/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
|
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]++'`
|
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]++'`
|
||||||
|
|
4
.github/workflows/appimage.sh
vendored
4
.github/workflows/appimage.sh
vendored
|
@ -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 -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
|
/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
|
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
|
/tmp/squashfs-root/usr/bin/appimagetool $HOME/squashfs-root
|
||||||
version=$(cat /yuzu/README.md | grep -o 'early-access [[:digit:]]*' | cut -c 14-17)
|
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
|
mv ./yuzu-x86_64.AppImage /yuzu/artifacts/version/Yuzu-EA-$version.AppImage
|
||||||
|
|
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
@ -1,7 +1,9 @@
|
||||||
name: AppImage
|
name: AppImage
|
||||||
|
|
||||||
on: push
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ main ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
appimage:
|
appimage:
|
||||||
name: pineapple bundled as appimage
|
name: pineapple bundled as appimage
|
||||||
|
|
2
.github/workflows/update.sh
vendored
2
.github/workflows/update.sh
vendored
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/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
|
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=$?
|
answer=$?
|
||||||
|
|
||||||
|
|
4
dist/yuzu.desktop
vendored
4
dist/yuzu.desktop
vendored
|
@ -6,7 +6,7 @@ GenericName=Switch Emulator
|
||||||
Comment=Nintendo Switch video game console emulator
|
Comment=Nintendo Switch video game console emulator
|
||||||
Icon=yuzu
|
Icon=yuzu
|
||||||
TryExec=yuzu
|
TryExec=yuzu
|
||||||
Exec=yuzu %f
|
Exec=env QT_QPA_PLATFORMTHEME=gtk3 yuzu %f
|
||||||
Categories=Game;Emulator;Qt;
|
Categories=Game;Emulator;Qt;
|
||||||
MimeType=application/x-nx-nro;application/x-nx-nso;
|
MimeType=application/x-nx-nro;application/x-nx-nso;
|
||||||
Keywords=Switch;Nintendo;
|
Keywords=Switch;Nintendo;
|
||||||
|
|
Loading…
Reference in a new issue