Prepare for adding other trackers

This commit is contained in:
mez 2024-06-19 15:52:15 +01:00
parent 6a8a0c40e6
commit 29ab288b65
29 changed files with 224 additions and 201 deletions

View file

@ -2,4 +2,9 @@ import variables
script = open("build.sh", "a")
script.write("#!/usr/bin/env bash\npython3 generate.py\nrclone copy build " + variables.rclonesiteroot + variables.serverpath + " -P")
script.write("#!/usr/bin/env bash\n")
if variables.trackgames == True:
script.write("python3 generategames.py\nrclone copy gamebuild " + variables.rclonesiteroot + variables.serverpath + " -P")
script.close()