mirror of
https://github.com/mas-cli/mas
synced 2024-11-24 20:43:10 +00:00
🎨 Format bash scripts
This commit is contained in:
parent
f162f6a8e2
commit
666e505eb1
2 changed files with 17 additions and 17 deletions
|
@ -20,20 +20,20 @@ MAS_VERSION=$(script/version)
|
|||
ROOT_URL="https://github.com/mas-cli/mas/releases/download/v${MAS_VERSION}"
|
||||
|
||||
# Supports macOS 10.11 and later
|
||||
OS_NAMES=( \
|
||||
sonoma \
|
||||
arm64_sonoma \
|
||||
ventura \
|
||||
arm64_ventura \
|
||||
monterey \
|
||||
arm64_monterey \
|
||||
big_sur \
|
||||
arm64_big_sur \
|
||||
catalina \
|
||||
mojave \
|
||||
high_sierra \
|
||||
sierra \
|
||||
el_capitan \
|
||||
OS_NAMES=(
|
||||
sonoma
|
||||
arm64_sonoma
|
||||
ventura
|
||||
arm64_ventura
|
||||
monterey
|
||||
arm64_monterey
|
||||
big_sur
|
||||
arm64_big_sur
|
||||
catalina
|
||||
mojave
|
||||
high_sierra
|
||||
sierra
|
||||
el_capitan
|
||||
)
|
||||
|
||||
# Semantic version number split into a list using Ugly, bash 3 compatible syntax
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
# Build for the host architecture by default.
|
||||
ARCH=()
|
||||
if [[ "$1" == '--universal' ]]; then
|
||||
ARCH=( \
|
||||
--arch arm64 \
|
||||
--arch x86_64 \
|
||||
ARCH=(
|
||||
--arch arm64
|
||||
--arch x86_64
|
||||
)
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue