mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02:00
Fix #4332
This commit is contained in:
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user