From 52e67211618224d84c3121e253796758f8f024de Mon Sep 17 00:00:00 2001 From: Jirawat Boonkumnerd Date: Thu, 4 Jul 2024 11:55:52 +0700 Subject: [PATCH] fix: add is arm64 --- bin/is-arm64 | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 bin/is-arm64 diff --git a/bin/is-arm64 b/bin/is-arm64 new file mode 100644 index 0000000..69dd48d --- /dev/null +++ b/bin/is-arm64 @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +if [[ "$(uname -m)" == "arm64" ]]; then + exit 0 +else + exit 1 +fi