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'