Generate sketchpads

This commit is contained in:
mez 2024-11-01 23:21:17 +00:00
parent 8e995e5126
commit 193e10c197
5 changed files with 39 additions and 1 deletions

8
setup.py Normal file
View file

@ -0,0 +1,8 @@
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")