diff --git a/.replit b/.replit index beae184..d1c9f6f 100644 --- a/.replit +++ b/.replit @@ -1,3 +1 @@ -language = "bash" -run = ["killall", "-q", "python3", ">", "/dev/null", "2>&1;", "pip", "install", "-r", "requirements.txt", "&&", "./run"] -onBoot = ["killall", "-q", "python3", ">", "/dev/null", "2>&1;", "pip", "install", "-r", "requirements.txt", "&&", "./run"] +entrypoint = "misc/replit.py" diff --git a/misc/replit.py b/misc/replit.py new file mode 100644 index 0000000..ce222c7 --- /dev/null +++ b/misc/replit.py @@ -0,0 +1,5 @@ +import subprocess + +# A plague upon Replit and all who have built it +replit_cmd = "killall -q python3 > /dev/null 2>&1; pip install -r requirements.txt && ./run" +subprocess.run(replit_cmd, shell=True)