diff --git a/scripts/makeappimage_64-bit.sh b/scripts/makeappimage_64-bit.sh index 17496ae0d7..56ed7891d6 100644 --- a/scripts/makeappimage_64-bit.sh +++ b/scripts/makeappimage_64-bit.sh @@ -11,6 +11,22 @@ if [ ! -f linuxdeploy-x86_64.AppImage ]; then chmod +x linuxdeploy-x86_64.AppImage fi +mkdir ./AppDir/ +mkdir ./AppDir/usr/ +mkdir ./AppDir/usr/bin/ +mkdir ./AppDir/usr/share/ +mkdir ./AppDir/usr/share/applications/ +mkdir ./AppDir/usr/share/icons/ +mkdir ./AppDir/usr/share/icons/hicolor/ +mkdir ./AppDir/usr/share/icons/hicolor/256x256/ +mkdir ./AppDir/usr/share/icons/hicolor/256x256/apps/ + +cp ~/ppsspp/SDL/PPSSPPSDL.desktop ./AppDir/ +cp ~/ppsspp/SDL/PPSSPPSDL.desktop ./AppDir/usr/share/applications/ +cp ~/ppsspp/build/PPSSPPSDL ./AppDir/usr/bin/ +cp -R ~/ppsspp/build/assets ./AppDir/usr/bin/ +cp ~/ppsspp/icons/hicolor/256x256/apps/ppsspp.png ./AppDir/usr/share/icons/hicolor/256x256/apps/ + DESTDIR=AppDir make install ./linuxdeploy-x86_64.AppImage --appimage-extract-and-run --appdir=AppDir \ --exclude-library="libX*" \