Skip to content

Commit

Permalink
linuxdeploy
Browse files Browse the repository at this point in the history
  • Loading branch information
qurious-pixel authored Aug 14, 2023
1 parent b820c90 commit e5a8561
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/assets/appimage.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
BINNAME=rpcsx
curl -sSfL https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage -o appimagetool
curl -sSfL https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage -o linuxdeploy

mkdir -p AppDir/usr/bin
cp -r build/bin AppDir/usr/
chmod +x AppDir/usr/bin
ln -sr AppDir/usr/bin/${BINNAME}-os AppDir/AppRun

chmod a+x appimagetool linuxdeploy
ARCH=x86_64 ./linuxdeploy --appdir=AppDir

cp ci/.github/assets/${BINNAME}.png AppDir/
cp ci/.github/assets/${BINNAME}.desktop AppDir/
mkdir -p AppDir/usr/share/applications && cp ./AppDir/${BINNAME}.desktop ./AppDir/usr/share/applications
mkdir -p AppDir/usr/share/icons && cp ./AppDir/${BINNAME}.png ./AppDir/usr/share/icons
mkdir -p AppDir/usr/share/icons/hicolor/512x512/apps && cp ./AppDir/${BINNAME}.png ./AppDir/usr/share/icons/hicolor/512x512/apps

chmod a+x appimagetool
ARCH=x86_64 ./appimagetool AppDir/ ${BINNAME}.AppImage

0 comments on commit e5a8561

Please sign in to comment.