mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-22 22:36:06 +08:00
修改代理地址提示
This commit is contained in:
parent
3777a4e7b4
commit
c6a25e5359
|
@ -256,7 +256,7 @@ export default class DependenceService {
|
|||
config.dependenceProxyFile,
|
||||
);
|
||||
const proxyStr = dependenceProxyFileExist
|
||||
? `pnpm config get registry && source ${config.dependenceProxyFile} &&`
|
||||
? `source ${config.dependenceProxyFile} &&`
|
||||
: '';
|
||||
const cp = spawn(
|
||||
`${proxyStr} ${depRunCommand} ${dependency.name.trim()}`,
|
||||
|
|
|
@ -472,7 +472,7 @@
|
|||
"Python 软件包镜像源": "Python Software Package Mirror Source",
|
||||
"Linux 软件包镜像源": "Linux Software Package Mirror Source",
|
||||
"代理与镜像源二选一即可": "Either Proxy or Mirror Source can be chosen",
|
||||
"代理地址, 支持HTTP(S)/SOCK5, ip:port": "Proxy Address, supports HTTP(S)/SOCK5, ip:port",
|
||||
"代理地址, 支持HTTP(S)/SOCK5": "Proxy Address, supports HTTP(S)/SOCK5",
|
||||
"NPM 镜像源": "NPM Mirror Source",
|
||||
"PyPI 镜像源": "PyPI Mirror Source",
|
||||
"alpine linux 镜像源": "Alpine Linux Mirror Source"
|
||||
|
|
|
@ -472,7 +472,7 @@
|
|||
"Python 软件包镜像源": "Python 软件包镜像源",
|
||||
"Linux 软件包镜像源": "Linux 软件包镜像源",
|
||||
"代理与镜像源二选一即可": "代理与镜像源二选一即可",
|
||||
"代理地址, 支持HTTP(S)/SOCK5, ip:port": "代理地址, 支持HTTP(S)/SOCK5, ip:port",
|
||||
"代理地址, 支持HTTP(S)/SOCK5": "代理地址, 支持HTTP(S)/SOCK5",
|
||||
"NPM 镜像源": "NPM 镜像源",
|
||||
"PyPI 镜像源": "PyPI 镜像源",
|
||||
"alpine linux 镜像源": "alpine linux 镜像源"
|
||||
|
|
|
@ -86,7 +86,7 @@ const Dependence = () => {
|
|||
>
|
||||
<Input.Group compact>
|
||||
<Input
|
||||
placeholder={intl.get('代理地址, 支持HTTP(S)/SOCK5, ip:port')}
|
||||
placeholder={intl.get('代理地址, 支持HTTP(S)/SOCK5')}
|
||||
style={{ width: 330 }}
|
||||
value={systemConfig?.dependenceProxy}
|
||||
onChange={(e) => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user