From 5b889546ff1908818cbbb955cb0640284114eba8 Mon Sep 17 00:00:00 2001 From: hanhh Date: Sun, 20 Jun 2021 22:13:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BB=BB=E5=8A=A1=E8=BF=90?= =?UTF-8?q?=E8=A1=8C=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sample/package.json | 1 + shell/update.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/sample/package.json b/sample/package.json index 6f56bc9f..8eeed397 100644 --- a/sample/package.json +++ b/sample/package.json @@ -6,6 +6,7 @@ "crypto-js": "^4.0.0", "download": "^8.0.0", "http-server": "^0.12.3", + "got": "^11.5.1", "qrcode-terminal": "^0.12.0", "request": "^2.88.2", "tough-cookie": "^4.0.0", diff --git a/shell/update.sh b/shell/update.sh index 12a401fa..5c5ef2d4 100755 --- a/shell/update.sh +++ b/shell/update.sh @@ -259,6 +259,8 @@ update_qinglong() { echo fi + fix_config + [ -f $dir_root/package.json ] && ql_depend_old=$(cat $dir_root/package.json) reset_romote_url ${dir_root} "${github_proxy_url}https://github.com/whyour/qinglong.git" git_pull_scripts $dir_root