Files
armorpaint/base/tools/platform.sh
T

11 lines
281 B
Bash
Raw Normal View History

2024-11-10 22:11:29 +01:00
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
MACHINE_TYPE=`uname -m`
if [[ "$MACHINE_TYPE" == "aarch64"* ]]; then
2025-03-09 17:02:12 +01:00
IRON_PLATFORM=linux_arm64
2024-11-10 22:11:29 +01:00
elif [[ "$MACHINE_TYPE" == "x86_64"* ]]; then
2025-03-09 17:02:12 +01:00
IRON_PLATFORM=linux_x64
2024-11-10 22:11:29 +01:00
fi
elif [[ "$OSTYPE" == "darwin"* ]]; then
2025-03-09 17:02:12 +01:00
IRON_PLATFORM=macos
2024-11-10 22:11:29 +01:00
fi