Skip to content

Commit

Permalink
Update supertuxkart
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-hc committed Aug 19, 2024
1 parent 69c1364 commit eb0e3af
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions supertuxkart
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ APP=supertuxkart

mkdir tmp;
cd ./tmp;
wget -q "$(wget -q https://api.github.com/repos/probonopd/go-appimage/releases -O - | sed 's/"/ /g; s/ /\n/g' | grep -o 'https.*continuous.*tool.*86_64.*mage$')" -O appimagetool
mv ./appimagetool-x86_64.AppImage ./appimagetool
wget -q https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage -O appimagetool
chmod a+x ./appimagetool

for arch in "64bit" "x86_64"
Expand Down Expand Up @@ -35,7 +34,7 @@ cp ./$APP.AppDir/data/supertuxkart_512.png ./$APP.AppDir;
mv ./$APP.AppDir/supertuxkart_512.png ./$APP.AppDir/$APP.png
mv ./$APP.AppDir/run_game.sh ./$APP.AppDir/AppRun;

ARCH=x86_64 VERSION=$(./appimagetool -v | grep -o '[[:digit:]]*') ./appimagetool -s ./$APP.AppDir;
ARCH=x86_64 ./appimagetool --comp zstd --mksquashfs-opt -Xcompression-level --mksquashfs-opt 20 ./$APP.AppDir;

cd ..;
mv ./tmp/*mage ./$APP.AppImage;
Expand Down

0 comments on commit eb0e3af

Please sign in to comment.