configure script added, restart script added, uninstall script added, upgrade script added, config.py excluded from repository and added to .gitignore, install.py improved, generate nginx config fixed

This commit is contained in:
C
2023-02-13 15:56:02 +05:00
parent 895e3b6baa
commit 5b43eba14f
14 changed files with 169 additions and 108 deletions
+9
View File
@@ -0,0 +1,9 @@
import subprocess
def run_command(cmd, directory):
command = subprocess.run(["powershell", "-Command", cmd], cwd=directory, shell=True, check=True)
return command
def run_command_no_dir(cmd):
command = subprocess.run(["powershell", "-Command", cmd], shell=True, check=True)
return command