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