mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-10-20 00:00:39 +00:00
auto dependency install
This commit is contained in:
parent
c2297fb6aa
commit
6a1e71cedd
65 changed files with 31 additions and 45659 deletions
|
|
@ -40,19 +40,12 @@ def migrate_to_aarch():
|
|||
pass
|
||||
# by default we have x86_64 setup
|
||||
# if we found aarch64 system copy required files
|
||||
if platform.processor() == 'aarch64':
|
||||
sys.path += [
|
||||
str(Path(Path(__file__).parent, 'dist', 'ba_data', 'python-site-package-aarch'))
|
||||
]
|
||||
if platform.processor() == 'aarch64':
|
||||
print("We are on aarch64 system")
|
||||
if os.path.exists(".we_are_good"):
|
||||
pass
|
||||
else:
|
||||
migrate_to_aarch()
|
||||
else:
|
||||
sys.path += [
|
||||
str(Path(Path(__file__).parent, 'dist', 'ba_data', 'python-site-package-x86'))
|
||||
]
|
||||
migrate_to_aarch()
|
||||
# We make use of the bacommon and efro packages as well as site-packages
|
||||
# included with our bundled Ballistica dist, so we need to add those paths
|
||||
# before we import them.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue