mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 06:36:24 +00:00
Fix #4332
This commit is contained in:
parent
6bfe9bfe9a
commit
060362bee2
2 changed files with 2 additions and 2 deletions
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue