1

(450 replies, posted in Using SVP)

Could we ditch the GUI installed and just provide a binary archive, searching through the .run file in order to extract the 7z archive is somewhat retarded ¯\_(ツ)_/¯

mkdir "installer"
LANG=C grep --only-matching --byte-offset --binary --text  $'7z\xBC\xAF\x27\x1C' "svp4-linux-64.run" |\
cut -f1 -d: |\
while read ofs; do
    dd if="svp4-linux-64.run" bs=1M iflag=skip_bytes status=none skip=$ofs of="installer/bin-$ofs.7z"
done

for f in "installer/"*.7z; do
    7z -bd -bb0 -y x -o"extracted/" "$f" || true
done
rm -rf "installer"