From 24fe0ec1ea59b62241ff9196d382b7ca2466ecc5 Mon Sep 17 00:00:00 2001 From: midoks Date: Tue, 28 Jun 2022 10:56:25 +0800 Subject: [PATCH] up --- .github/workflows/python-app-op.yml | 1 - class/core/site_api.py | 2 +- scripts/install/macos.sh | 4 +++- 3 files changed, 4 insertions(+), 3 deletions(-) delete mode 100644 .github/workflows/python-app-op.yml diff --git a/.github/workflows/python-app-op.yml b/.github/workflows/python-app-op.yml deleted file mode 100644 index 8b1378917..000000000 --- a/.github/workflows/python-app-op.yml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/class/core/site_api.py b/class/core/site_api.py index 36a0be774..a41877547 100755 --- a/class/core/site_api.py +++ b/class/core/site_api.py @@ -1624,7 +1624,7 @@ class site_api: if not mw.isAppleSystem(): mw.execShell('chown -R www:www ' + path) - mw.writeFile(path + '/index.html', '已经开始工作!!!') + mw.writeFile(path + '/index.html', 'Work has started!!!') mw.execShell('chmod -R 755 ' + path) def nginxAddDomain(self, webname, domain, port): diff --git a/scripts/install/macos.sh b/scripts/install/macos.sh index 7bde10d63..bcd77699a 100755 --- a/scripts/install/macos.sh +++ b/scripts/install/macos.sh @@ -40,7 +40,9 @@ pip3 install mysqlclient chmod 755 $DEV/server/mdserver-web/data if [ -f $DEV/server/mdserver-web/bin/activate ];then - cd $DEV/server/mdserver-web && python3 -m venv $DEV/server/mdserver-web && source $DEV/server/mdserver-web/bin/activate && pip3 install -r $DEV/server/mdserver-web/requirements.txt + cd $DEV/server/mdserver-web && python3 -m venv $DEV/server/mdserver-web + source $DEV/server/mdserver-web/bin/activate + pip3 install -r $DEV/server/mdserver-web/requirements.txt else cd $DEV/server/mdserver-web && pip3 install -r $DEV/server/mdserver-web/requirements.txt fi