Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议脚本中的调用都写成 bash <(....) 的形式 #25

Open
crazypeace opened this issue Sep 9, 2024 · 2 comments
Open

建议脚本中的调用都写成 bash <(....) 的形式 #25

crazypeace opened this issue Sep 9, 2024 · 2 comments

Comments

@crazypeace
Copy link

crazypeace commented Sep 9, 2024

建议脚本中 调用别的脚本时 都写成 bash <(....) 的形式
这样可以比较方便的应用ghproxy

演示视频:
https://youtu.be/5zCJsCoi_lQ

ghproxy 演示站
https://ghproxy.lvedong.eu.org/

演示脚本

bash <( curl -L https://github.com/crazypeace/gh-proxy/raw/master/test-a.sh)
@kejilion
Copy link
Owner

@crazypeace
Copy link
Author

以BBR管理脚本为具体例子

kejilion脚本的ghproxy版本, 调用 BBR管理脚本 不能切换 tcp.sh 和 tcpx.sh

用ghproxy工具处理过的 tcpx.sh, 可以切换 tcp.sh 和 tcpx.sh

演示视频
https://youtu.be/PiAeWsFE-i0

视频中用到的命令和地址
https://journal.crazypeace.workers.dev/ghproxy-tutorial

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants