Skip to content

Commit

Permalink
Update skype-builder.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-hc authored Aug 19, 2024
1 parent 51a9c24 commit abd8fa3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skype-builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ cd ./tmp || exit 1

# DOWNLOAD APPIMAGETOOL
if ! test -f ./appimagetool; then
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
wget -q https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage -O appimagetool
chmod a+x ./appimagetool
fi

Expand All @@ -34,6 +34,6 @@ exec "${HERE}"/skypeforlinux "$@"
EOF
chmod a+x ./"$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/*.AppImage ./Skype-"$VERSION"-x86_64.AppImage

0 comments on commit abd8fa3

Please sign in to comment.