mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-10-20 00:00:39 +00:00
updating ba_data
This commit is contained in:
parent
b0b6865bdf
commit
48af420a73
92 changed files with 3174 additions and 1075 deletions
10
dist/ba_data/python/babase/modutils.py
vendored
10
dist/ba_data/python/babase/modutils.py
vendored
|
|
@ -133,7 +133,10 @@ def create_user_system_scripts() -> None:
|
|||
if env.python_directory_app is None:
|
||||
raise RuntimeError('app python dir unset')
|
||||
|
||||
path = f'{env.python_directory_user}/sys/{env.engine_version}'
|
||||
path = (
|
||||
f'{env.python_directory_user}/sys/'
|
||||
f'{env.engine_version}_{env.engine_build_number}'
|
||||
)
|
||||
pathtmp = path + '_tmp'
|
||||
if os.path.exists(path):
|
||||
print('Delete Existing User Scripts first!')
|
||||
|
|
@ -181,7 +184,10 @@ def delete_user_system_scripts() -> None:
|
|||
if env.python_directory_user is None:
|
||||
raise RuntimeError('user python dir unset')
|
||||
|
||||
path = f'{env.python_directory_user}/sys/{env.engine_version}'
|
||||
path = (
|
||||
f'{env.python_directory_user}/sys/'
|
||||
f'{env.engine_version}_{env.engine_build_number}'
|
||||
)
|
||||
if os.path.exists(path):
|
||||
shutil.rmtree(path)
|
||||
print('User system scripts deleted.')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue