mirror of
https://github.com/ironfox-oss/IronFox.git
synced 2026-04-19 06:30:14 -04:00
ironfox-oss/IronFox!129 # IronFox 148.0.1 ____ ## Changes - Updated to Firefox [`148.0.1`](https://firefox.com/firefox/android/148.0.1/releasenotes/). - Implemented `SHA512sum` validation for external sources/dependencies at build-time to improve security and reproducability. - [Added missing Gecko(View) assets](https://gitlab.com/ironfox-oss/IronFox/-/merge_requests/129/diffs?commit_id=4704ea7c3cb19aad045507aad63f6f9cadcd8ba7) to fix issues and improve display of internal *(`about:`)* pages. - [Removed `about:restricted`](https://gitlab.com/ironfox-oss/IronFox/-/merge_requests/129/diffs?commit_id=55aa1f030173c68bf2a30cbc8d9632bb71dad532) *(used for parental controls/filtering)*. - [Removed certain unused/unwanted Gecko assets](https://gitlab.com/ironfox-oss/IronFox/-/merge_requests/129/diffs?commit_id=d4e4623668776b895c9f06449f9b7cf47050c048). - Minor tweaks, fixes, and enhancements. MR-author: celenity <celenity@celenity.dev> Co-authored-by: Weblate <hosted@weblate.org> Approved-by: celenity <celenity@celenity.dev> Merged-by: celenity <celenity@celenity.dev>
39 lines
927 B
Bash
Executable File
39 lines
927 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -euo pipefail
|
|
|
|
# Set-up our environment
|
|
bash -x $(dirname $0)/env.sh
|
|
source $(dirname $0)/env.sh
|
|
|
|
# Set up target parameters
|
|
if [[ -z "${1+x}" ]]; then
|
|
target='all'
|
|
else
|
|
target=$(echo "${1}" | "${IRONFOX_AWK}" '{print tolower($0)}')
|
|
fi
|
|
|
|
if [[ -z "${2+x}" ]]; then
|
|
mode='download'
|
|
else
|
|
mode=$(echo "${2}" | "${IRONFOX_AWK}" '{print tolower($0)}')
|
|
fi
|
|
|
|
# Get sources
|
|
export IRONFOX_FROM_SOURCES=1
|
|
if [ "${IRONFOX_LOG_SOURCES}" == 1 ]; then
|
|
SOURCES_LOG_FILE="${IRONFOX_LOG_DIR}/get_sources.log"
|
|
|
|
# If the log file already exists, remove it
|
|
if [ -f "${SOURCES_LOG_FILE}" ]; then
|
|
rm "${SOURCES_LOG_FILE}"
|
|
fi
|
|
|
|
# Ensure our log directory exists
|
|
mkdir -vp "${IRONFOX_LOG_DIR}"
|
|
|
|
bash -x "${IRONFOX_SCRIPTS}/get_sources-if.sh" "${target}" "${mode}" > >(tee -a "${SOURCES_LOG_FILE}") 2>&1
|
|
else
|
|
bash -x "${IRONFOX_SCRIPTS}/get_sources-if.sh" "${target}" "${mode}"
|
|
fi
|