mirror of
https://github.com/hypervortex/VH-Bombsquad-Modded-Server-Files
synced 2026-08-15 13:04:50 +00:00
19 lines
739 B
Text
19 lines
739 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("sudo apt-get update -y")
|
|
os.system("sudo 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")
|