mirror of
https://github.com/ironfox-oss/IronFox.git
synced 2026-02-07 12:53:02 -05:00
ironfox-oss/IronFox!121 ____ ## Changes - Updated to Firefox [`147.0.2`](https://firefox.com/firefox/android/147.0.2/releasenotes/). - Updated to Rust [`1.93.0`](https://releases.rs/docs/1.93.0/). - Other minor tweaks, fixes, and enhancements. MR-author: celenity <celenity@celenity.dev> Co-authored-by: Weblate <hosted@weblate.org> Approved-by: Akash Yadav <itsaky01@gmail.com> Merged-by: celenity <celenity@celenity.dev>
34 lines
757 B
Bash
34 lines
757 B
Bash
|
|
# Set platform
|
|
if [[ "${OSTYPE}" == "darwin"* ]]; then
|
|
export IRONFOX_PLATFORM='darwin'
|
|
else
|
|
export IRONFOX_PLATFORM='linux'
|
|
fi
|
|
|
|
# Set OS
|
|
if [[ "${IRONFOX_PLATFORM}" == 'darwin' ]]; then
|
|
export IRONFOX_OS='osx'
|
|
elif [[ "${IRONFOX_PLATFORM}" == 'linux' ]]; then
|
|
if [[ -f "/etc/os-release" ]]; then
|
|
source /etc/os-release
|
|
if [[ -n "${ID}" ]]; then
|
|
export IRONFOX_OS="${ID}"
|
|
else
|
|
export IRONFOX_OS='unknown'
|
|
fi
|
|
else
|
|
export IRONFOX_OS='unknown'
|
|
fi
|
|
else
|
|
export IRONFOX_OS='unknown'
|
|
fi
|
|
|
|
# Set architecture
|
|
PLATFORM_ARCH=$(uname -m)
|
|
if [[ "${PLATFORM_ARCH}" == 'arm64' ]]; then
|
|
export IRONFOX_PLATFORM_ARCH='aarch64'
|
|
else
|
|
export IRONFOX_PLATFORM_ARCH='x86-64'
|
|
fi
|