Skip to content

Commit

Permalink
Update appimage.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
qurious-pixel authored Feb 29, 2024
1 parent bdb1236 commit a825cee
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/assets/appimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,19 @@ curl -sSfL https://github.com/linuxdeploy/linuxdeploy/releases/download/continuo
curl -sSfL https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage -o linuxdeployqt
curl -sSfL https://github.com/linuxdeploy/linuxdeploy-plugin-checkrt/releases/download/continuous/linuxdeploy-plugin-checkrt-x86_64.sh -o checkrt


mkdir -p AppDir/usr/bin
cp -r build/bin AppDir/usr/
cp ci/.github/assets/AppRun AppDir/
cp ci/.github/assets/AppRun AppDir/AppRun.wrapper
cp ui/rpcsx-ui AppDir/usr/bin/
cp -r ui/mangohud/usr AppDir/
#ln -sr AppDir/usr/bin/rpcsx-ui AppDir/AppRun
#cp /usr/bin/yad AppDir/usr/bin/
chmod +x AppDir/usr/bin
chmod +x AppDir/AppRun
chmod +x AppDir/AppRun.wrapper

chmod a+x appimagetool linuxdeploy linuxdeployqt checkrt
#export NO_STRIP=1
ARCH=x86_64 ./linuxdeploy --appdir=AppDir
ARCH=x86_64 ./checkrt --appdir AppDir/
# Fix binary launcher
sed -i '/binary=/c\binary="$appdir"/AppRun.wrapper' AppDir/AppRun

cp -r build/bin AppDir/usr/
cp ci/.github/assets/${BINNAME}.png AppDir/
Expand Down

0 comments on commit a825cee

Please sign in to comment.