mirror of
https://github.com/Freaku17/BombSquad-Mods-byFreaku
synced 2025-10-19 20:20:40 +00:00
Terminal.py for bs1.7
Sorry I was in a hurry
This commit is contained in:
parent
be81bb0067
commit
9825901eb6
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ def yeet_sys():
|
||||||
def update_mods():
|
def update_mods():
|
||||||
mods_folder = _ba.env()['python_directory_user']
|
mods_folder = _ba.env()['python_directory_user']
|
||||||
for mod in os.listdir(mods_folder):
|
for mod in os.listdir(mods_folder):
|
||||||
if mod.endswith('.py') and not mod=='Terminal.py':
|
if mod.endswith('.py') and not mod==__name__+'.py':
|
||||||
data = open(mods_folder+os.sep+mod).read()
|
data = open(mods_folder+os.sep+mod).read()
|
||||||
data = data.replace('# ba_meta require api 6', '# ba_meta require api 7')
|
data = data.replace('# ba_meta require api 6', '# ba_meta require api 7')
|
||||||
data = data.replace('def on_app_launch(self)', 'def on_app_running(self)')
|
data = data.replace('def on_app_launch(self)', 'def on_app_running(self)')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue