Change win64 to win-x64 in app build scripts

This commit is contained in:
Dan Stillman 2023-05-11 05:17:12 +01:00
parent 3ba6fbf0f7
commit 3d7ce028e9
8 changed files with 27 additions and 23 deletions

View file

@ -348,13 +348,17 @@ if [ $BUILD_WIN == 1 ]; then
GECKO_VERSION="$GECKO_VERSION_WIN"
DOWNLOAD_URL="https://ftp.mozilla.org/pub/firefox/releases/$GECKO_VERSION"
for arch in win32 win64; do
for arch in win32 win-x64; do
xdir=firefox-$arch
rm -rf $xdir
mkdir $xdir
curl -O "$DOWNLOAD_URL/$arch/en-US/Firefox%20Setup%20$GECKO_VERSION.exe"
if [ $arch = "win-x64" ]; then
curl -O "$DOWNLOAD_URL/win64/en-US/Firefox%20Setup%20$GECKO_VERSION.exe"
else
curl -O "$DOWNLOAD_URL/$arch/en-US/Firefox%20Setup%20$GECKO_VERSION.exe"
fi
7z x Firefox%20Setup%20$GECKO_VERSION.exe -o$xdir 'core/*'
mv $xdir/core $xdir-core