mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
修改pnpm安装源
This commit is contained in:
+3
-3
@@ -212,11 +212,11 @@ fix_config() {
|
|||||||
|
|
||||||
npm_install_sub() {
|
npm_install_sub() {
|
||||||
if [[ $is_termux -eq 1 ]]; then
|
if [[ $is_termux -eq 1 ]]; then
|
||||||
npm install --production --no-save --no-bin-links --registry=https://registry.npm.taobao.org || npm install --production --no-bin-links --no-save
|
npm install --production --no-bin-links --registry=https://registry.npm.taobao.org || npm install --production --no-bin-links
|
||||||
elif ! type pnpm &>/dev/null; then
|
elif ! type pnpm &>/dev/null; then
|
||||||
npm install --production --no-save --registry=https://registry.npm.taobao.org || npm install --production --no-save
|
npm install --production --registry=https://registry.npm.taobao.org || npm install --production
|
||||||
else
|
else
|
||||||
pnpm install --prod
|
pnpm install --production --registry=https://registry.npm.taobao.org || pnpm install --production
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user