You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
292 B
Python
9 lines
292 B
Python
1 month ago
|
import variables
|
||
|
|
||
|
buildscript = open("build.sh","w")
|
||
|
buildscript.write("#!/usr/bin/env bash\n\npython3 generate.py\n\nrclone copy build " + variables.servername + ":" + variables.serverpath + " -P")
|
||
|
buildscript.close()
|
||
|
|
||
|
if not os.path.exists("build/user.css"):
|
||
|
open("build/user.css","x")
|