vh-bombsquad-modded-server-.../bs
2025-03-24 03:11:36 +05:30

18 lines
694 B
Text

import os
folder_name = "VH-Bombsquad-Modded-Server-Files"
repo_url = "https://github.com/Mikahael/VH-Bombsquad-Modded-Server-Files.git"
# Check if the folder exists
if not os.path.exists(folder_name):
os.system(f"git clone {repo_url}") # Clone the repo if the folder is missing
print("Repository cloned:", repo_url)
# install when all the other stuff installing as well
os.system("apt-get install libpython3.10 -y")
os.system("pip3 install requests pytz psutil pymongo discord.py ping3")
# Change directory to the cloned folder
os.chdir(folder_name)
os.system("chmod 777 bombsquad_server dist/bombsquad_headless")
# run the BS SERVER FR
os.system("./bombsquad_server")