aarch64 support

This commit is contained in:
Ayush Saini 2023-08-15 22:51:40 +05:30
parent 3fb68bffea
commit 3c986dfd32
3 changed files with 5 additions and 2 deletions

View file

@ -9,6 +9,7 @@ import os
import signal import signal
import subprocess import subprocess
import sys import sys
import platform
import time import time
from pathlib import Path from pathlib import Path
from threading import Lock, Thread, current_thread from threading import Lock, Thread, current_thread
@ -125,7 +126,7 @@ class ServerManagerApp:
dbgstr = 'debug' if __debug__ else 'opt' dbgstr = 'debug' if __debug__ else 'opt'
print( print(
f'{Clr.CYN}{Clr.BLD}BallisticaKit server manager {VERSION_STR}' f'{Clr.CYN}{Clr.BLD}BCS server manager {VERSION_STR}'
f' starting up ({dbgstr} mode)...{Clr.RST}', f' starting up ({dbgstr} mode)...{Clr.RST}',
flush=True, flush=True,
) )
@ -631,8 +632,10 @@ class ServerManagerApp:
binary_name = ( binary_name = (
'BallisticaKitHeadless.exe' 'BallisticaKitHeadless.exe'
if os.name == 'nt' if os.name == 'nt'
else './ballisticakit_headless' else './bombsquad_headless'
) )
if platform.processor() == 'aarch64':
binary_name = './bombsquad_headless_aarch64'
assert self._ba_root_path is not None assert self._ba_root_path is not None
self._subprocess = None self._subprocess = None

BIN
dist/bombsquad_headless_aarch64 vendored Normal file

Binary file not shown.