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:
@@ -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
|
||||
Reference in New Issue
Block a user