From 060362bee2300154b8471c46cfb398751b8b0620 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 9 Dec 2021 13:26:47 +0530 Subject: [PATCH] Fix #4332 --- docs/installer.py | 2 +- docs/installer.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/installer.py b/docs/installer.py index def0fc508..4d3f0d012 100644 --- a/docs/installer.py +++ b/docs/installer.py @@ -187,7 +187,7 @@ def main(dest=None, launch=True, installer=None): else: dest = os.path.expanduser('~/.local') machine = os.uname()[4] - if machine and machine.lower().startswith('arm'): + if not is_macos and machine and machine.lower().startswith('arm'): raise SystemExit( 'You are running on an ARM system. The kitty binaries are only' ' available for x86 systems. You will have to build from' diff --git a/docs/installer.sh b/docs/installer.sh index 75809b3a2..90eb11c93 100644 --- a/docs/installer.sh +++ b/docs/installer.sh @@ -214,7 +214,7 @@ def main(dest=None, launch=True, installer=None): else: dest = os.path.expanduser('~/.local') machine = os.uname()[4] - if machine and machine.lower().startswith('arm'): + if not is_macos and machine and machine.lower().startswith('arm'): raise SystemExit( 'You are running on an ARM system. The kitty binaries are only' ' available for x86 systems. You will have to build from'