This commit is contained in:
Kovid Goyal 2021-12-09 13:26:47 +05:30
parent 6bfe9bfe9a
commit 060362bee2
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 2 additions and 2 deletions

View File

@ -187,7 +187,7 @@ def main(dest=None, launch=True, installer=None):
else: else:
dest = os.path.expanduser('~/.local') dest = os.path.expanduser('~/.local')
machine = os.uname()[4] machine = os.uname()[4]
if machine and machine.lower().startswith('arm'): if not is_macos and machine and machine.lower().startswith('arm'):
raise SystemExit( raise SystemExit(
'You are running on an ARM system. The kitty binaries are only' 'You are running on an ARM system. The kitty binaries are only'
' available for x86 systems. You will have to build from' ' available for x86 systems. You will have to build from'

View File

@ -214,7 +214,7 @@ def main(dest=None, launch=True, installer=None):
else: else:
dest = os.path.expanduser('~/.local') dest = os.path.expanduser('~/.local')
machine = os.uname()[4] machine = os.uname()[4]
if machine and machine.lower().startswith('arm'): if not is_macos and machine and machine.lower().startswith('arm'):
raise SystemExit( raise SystemExit(
'You are running on an ARM system. The kitty binaries are only' 'You are running on an ARM system. The kitty binaries are only'
' available for x86 systems. You will have to build from' ' available for x86 systems. You will have to build from'