优化安装界面

This commit is contained in:
marvzhang
2020-03-07 10:28:34 +08:00
parent c470eca48d
commit 7028a1145a
11 changed files with 273 additions and 71 deletions

View File

@@ -1,5 +1,8 @@
#!/bin/bash
# lock global
touch /tmp/install.lock
# lock
touch /tmp/install-nodejs.lock
@@ -39,3 +42,6 @@ npm install puppeteer-chromium-resolver crawlab-sdk -g --unsafe-perm=true --regi
# unlock
rm /tmp/install-nodejs.lock
# unlock global
rm /tmp/install.lock