Add place tracker

This commit is contained in:
mez 2024-06-19 16:26:09 +01:00
parent fc286a07b5
commit 91c43c5671
7 changed files with 157 additions and 2 deletions

View file

@ -5,6 +5,9 @@ script = open("build.sh", "w")
script.write("#!/usr/bin/env bash\n")
if variables.trackgames == True:
script.write("python3 generategames.py\nrclone copy gamebuild " + variables.rclonesiteroot + variables.gameserverpath + " -P")
script.write("python3 generategames.py\nrclone copy gamebuild " + variables.rclonesiteroot + variables.gameserverpath + " -P\n")
if variables.trackplaces == True:
script.write("python3 generateplaces.py\nrclone copy placebuild " + variables.rclonesiteroot + variables.placeserverpath + " -P\n")
script.close()