Skip to content

Commit

Permalink
Update steam: Type2 AppImage
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-hc authored Apr 16, 2024
1 parent 65d538e commit cfa34cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions steam
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if test -f ./appimagetool; then
echo " appimagetool already exists" 1> /dev/null
else
echo " Downloading appimagetool..."
wget -q https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage -O appimagetool
wget -q $(wget -q https://api.github.com/repos/probonopd/go-appimage/releases -O - | grep -v zsync | grep -i continuous | grep -i appimagetool | grep -i x86_64 | grep browser_download_url | cut -d '"' -f 4 | head -1) -O appimagetool
fi
if test -f ./pkg2appimage; then
echo " pkg2appimage already exists" 1> /dev/null
Expand Down Expand Up @@ -80,10 +80,10 @@ sed -i 's/PrefersNonDefaultGPU/X-PrefersNonDefaultGPU/' ./$APP/$APP.AppDir/steam
#cp ./$APP/$APP.AppDir/usr/share/applications/* ./$APP/$APP.AppDir/ 2>/dev/null

# ...EXPORT THE APPDIR TO AN APPIMAGE!
ARCH=x86_64 ./appimagetool -n ./$APP/$APP.AppDir > /dev/null 2>&1
ARCH=x86_64 VERSION=$(./appimagetool -v | grep -o '[[:digit:]]*') ./appimagetool -s ./$APP/$APP.AppDir > /dev/null 2>&1
cd ..;
mv ./tmp/*.AppImage ./Steam-$(date +"%Y%m%d%H%M")-x86_64.AppImage
#mv ./tmp/*.AppImage ./Steam-x86_64.AppImage
#mv ./tmp/*.AppImage ./

echo "
Expand Down

0 comments on commit cfa34cc

Please sign in to comment.