Fix #4332
This commit is contained in:
parent
6bfe9bfe9a
commit
060362bee2
@ -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'
|
||||||
|
|||||||
@ -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'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user