mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-04 06:23:19 +08:00
Fixes for linux arm64 support
This commit is contained in:
parent
e038bf4de9
commit
7bec7dcbe1
@ -485,9 +485,10 @@ def get_current_prefab_platform(wsl_gives_windows: bool = True) -> str:
|
|||||||
f'make_prefab: unsupported win machine type:'
|
f'make_prefab: unsupported win machine type:'
|
||||||
f' {machine}.')
|
f' {machine}.')
|
||||||
|
|
||||||
# TODO: add support for arm linux.
|
|
||||||
if machine == 'x86_64':
|
if machine == 'x86_64':
|
||||||
return 'linux_x86_64'
|
return 'linux_x86_64'
|
||||||
|
if machine == 'arm64':
|
||||||
|
return 'linux_arm64'
|
||||||
raise RuntimeError(f'make_prefab: unsupported linux machine type:'
|
raise RuntimeError(f'make_prefab: unsupported linux machine type:'
|
||||||
f' {machine}.')
|
f' {machine}.')
|
||||||
raise RuntimeError(f'make_prefab: unrecognized platform:'
|
raise RuntimeError(f'make_prefab: unrecognized platform:'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user