[pull-roms.sh] direct download

This commit is contained in:
Gwenhael Le Moine 2024-10-21 17:59:39 +02:00
parent b12cce480a
commit e6b7f08fef
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -6,19 +6,18 @@ mkdir -p "$FWDIR"
mkdir -p "$TEMPDIR" mkdir -p "$TEMPDIR"
cd "$TEMPDIR" || exit 1 cd "$TEMPDIR" || exit 1
echo Retrieving Bootloader from hpcalc.org for HP 49g+ and HP 50g... echo "Retrieving Bootloader from hpcalc.org for HP 49g+ and HP 50g..."
wget https://www.hpcalc.org/hp49/pc/rom/hp-arm-models-bootloader.zip wget https://www.hpcalc.org/hp49/pc/rom/hp-arm-models-bootloader.zip
unzip -j hp-arm-models-bootloader.zip -d "$TEMPDIR" unzip -j hp-arm-models-bootloader.zip -d "$TEMPDIR"
mv ./*.bin "$FWDIR"/ mv ./*.bin "$FWDIR"/
echo Retrieving ROM 2.15 from hpcalc.org for HP 49g+ and HP 50g... echo "Retrieving ROM 2.15 from hpcalc.org for HP 49g+ and HP 50g..."
wget https://www.hpcalc.org/hp49/pc/rom/hp4950v215.zip wget https://www.hpcalc.org/hp49/pc/rom/hp4950v215.zip
unzip -j hp4950v215.zip -d "$TEMPDIR" unzip -j hp4950v215.zip -d "$TEMPDIR"
mv ./*.bin "$FWDIR"/ mv ./*.bin "$FWDIR"/
echo Retrieving latest Unofficial newRPL build... echo "Retrieving latest Unofficial newRPL build..."
wget https://hpgcc3.org/downloads/newrplfw.bin wget https://hpgcc3.org/downloads/newrplfw.bin -O "$FWDIR"/newrplfw.bin
mv ./newrplfw.bin "$FWDIR"/
cd "$CWD" || exit 1 cd "$CWD" || exit 1
rm -rf "$TEMPDIR" rm -rf "$TEMPDIR"