Generate xz MARs for new updater
The old updater used MARs with bzip2-compressed files, but Mozilla switched to xz compression, so we generate xz-based MARs using the current MAR tools and `make_(full|incremental)_update.sh` scripts and add a script to generate bzip2-based MARs to serve to pre-7.0 builds.
This commit is contained in:
parent
6261640a92
commit
33ac72ebac
6 changed files with 212 additions and 133 deletions
|
@ -9,13 +9,14 @@ cd "$APP_ROOT_DIR"
|
|||
mkdir -p "xulrunner/bin"
|
||||
if [ "`uname`" = "Darwin" ]; then
|
||||
# Mozilla has Linux executables where the Mac files should be, so supply our own Mac builds
|
||||
curl -o "xulrunner/bin/mar" https://zotero-download.s3.us-east-1.amazonaws.com/tools/mac/60.8.0esr/mar
|
||||
curl -o "xulrunner/bin/mbsdiff" https://zotero-download.s3.us-east-1.amazonaws.com/tools/mac/60.8.0esr/mbsdiff
|
||||
curl -o "xulrunner/bin/mar" https://zotero-download.s3.us-east-1.amazonaws.com/tools/mac/102.11.0esr/mar
|
||||
curl -o "xulrunner/bin/mbsdiff" https://zotero-download.s3.us-east-1.amazonaws.com/tools/mac/102.11.0esr/mbsdiff
|
||||
elif [ "`uname -o 2> /dev/null`" = "Cygwin" ]; then
|
||||
curl -o "xulrunner/bin/mar.exe" https://ftp.mozilla.org/pub/firefox/nightly/2018/03/2018-03-01-10-01-39-mozilla-central/mar-tools/win64/mar.exe
|
||||
curl -o "xulrunner/bin/mbsdiff.exe" https://ftp.mozilla.org/pub/firefox/nightly/2018/03/2018-03-01-10-01-39-mozilla-central/mar-tools/win64/mbsdiff.exe
|
||||
# Mozilla doesn't seem to provide Windows versions via its file server anymore, so supply our own
|
||||
curl -o "xulrunner/bin/mar.exe" https://zotero-download.s3.us-east-1.amazonaws.com/tools/win/102.11.0esr/mar.exe
|
||||
curl -o "xulrunner/bin/mbsdiff.exe" https://zotero-download.s3.us-east-1.amazonaws.com/tools/win/102.11.0esr/mbsdiff.exe
|
||||
else
|
||||
curl -o "xulrunner/bin/mar" https://ftp.mozilla.org/pub/firefox/nightly/2018/03/2018-03-01-10-01-39-mozilla-central/mar-tools/linux64/mar
|
||||
curl -o "xulrunner/bin/mbsdiff" https://ftp.mozilla.org/pub/firefox/nightly/2018/03/2018-03-01-10-01-39-mozilla-central/mar-tools/linux64/mbsdiff
|
||||
curl -o "xulrunner/bin/mar" https://ftp.mozilla.org/pub/firefox/nightly/2022/05/2022-05-30-09-39-43-mozilla-central/mar-tools/linux64/mar
|
||||
curl -o "xulrunner/bin/mbsdiff" https://ftp.mozilla.org/pub/firefox/nightly/2022/05/2022-05-30-09-39-43-mozilla-central/mar-tools/linux64/mbsdiff
|
||||
fi
|
||||
chmod 755 xulrunner/bin/mar xulrunner/bin/mbsdiff
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue