3 Star 0 Fork 0

Gitee 极速下载 / firefox-ios_old1

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/mozilla/firefox-ios
克隆/下载
bootstrap.sh 1.44 KB
一键复制 编辑 原始数据 按行查看 历史
#!/bin/sh
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#
# Use the --force option to force a re-build locales.
# Use the --importLocales option to fetch and update locales only
getLocale() {
echo "Getting locale..."
rm -rf LocalizationTools
git clone https://github.com/mozilla-mobile/LocalizationTools.git || exit 1
echo "Creating firefoxios-l10n Git repo"
rm -rf firefoxios-l10n
git clone --depth 1 https://github.com/mozilla-l10n/firefoxios-l10n firefoxios-l10n || exit 1
}
if [ "$1" == "--force" ]; then
rm -rf firefoxios-l10n
rm -rf LocalizationTools
rm -rf build
fi
if [ "$1" == "--importLocales" ]; then
# Import locales
if [ -d "/firefoxios-l10n" ] && [ -d "/LocalizationTools" ]; then
echo "l10n directories found. Not downloading scripts."
else
echo "l10n directory not found. Downloading repo and scripts."
getLocale
fi
./firefox-ios/import-strings.sh
exit 0
fi
# Download the nimbus-fml.sh script from application-services.
NIMBUS_FML_FILE=./firefox-ios/nimbus.fml.yaml
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/mozilla/application-services/main/components/nimbus/ios/scripts/bootstrap.sh | bash -s -- --directory ./firefox-ios/bin $NIMBUS_FML_FILE
# Run and update content blocker
./content_blocker_update.sh
1
https://gitee.com/mirrors/firefox-ios_old1.git
git@gitee.com:mirrors/firefox-ios_old1.git
mirrors
firefox-ios_old1
firefox-ios_old1
main

搜索帮助