Skip to content

Commit

Permalink
Update opera-builder.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-hc committed Aug 16, 2024
1 parent 34d0dcd commit 4f60005
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opera-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 Down Expand Up @@ -60,7 +60,7 @@ _create_opera_appimage(){
else
sed -i "s/CHROME/$APP-$CHANNEL/g" ./"$APP".AppDir/AppRun
fi
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
mv ./*.AppImage ./Opera-Web-Browser-"$CHANNEL"-"$VERSION"-x86_64.AppImage || exit 1
}

Expand Down

0 comments on commit 4f60005

Please sign in to comment.