Skip to content

Commit

Permalink
feat(修改文字): 帐号->账号
Browse files Browse the repository at this point in the history
  • Loading branch information
mack-a committed Oct 13, 2022
1 parent 62f6755 commit 1717438
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions documents/how_to_use.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@

### 7.添加智能DNS智能解析

如果选择y,则查看帐号的时候 address是优选后的域名解析,则会出现address是脚本提供的域名,伪装域名或SNI或peer则是个人的域名,详情原理解析请查看[此文章](https://github.com/mack-a/v2ray-agent/blob/master/documents/optimize_V2Ray.md),仅支持ws的传输方式
如果选择y,则查看账号的时候 address是优选后的域名解析,则会出现address是脚本提供的域名,伪装域名或SNI或peer则是个人的域名,详情原理解析请查看[此文章](https://github.com/mack-a/v2ray-agent/blob/master/documents/optimize_V2Ray.md),仅支持ws的传输方式

<img src="https://raw.githubusercontent.com/mack-a/v2ray-agent/master/fodder/how_to_use/07.png" width=700>

Expand All @@ -86,15 +86,15 @@

### 11.完成

恭喜到这里就是最后一步了,接下来会检测服务是否正常,正常则会展示帐号
恭喜到这里就是最后一步了,接下来会检测服务是否正常,正常则会展示账号

# 2.进阶教学

## 1.账号管理

### 1.查看订阅

当【查看订阅】时脚本会自动创建一个唯一的订阅地址,不【查看订阅】时不会自动生成。 每次帐号更改时需要重新【查看订阅】才会生成新的内容。 此操作完全在你的服务器存放,不需要担心是否泄漏。
当【查看订阅】时脚本会自动创建一个唯一的订阅地址,不【查看订阅】时不会自动生成。 每次账号更改时需要重新【查看订阅】才会生成新的内容。 此操作完全在你的服务器存放,不需要担心是否泄漏。

### 2.添加用户/删除用户

Expand Down Expand Up @@ -135,7 +135,7 @@ netflix、bahamut、hulu、hbo、disney、bbc、4chan、fox、abema、dmm、nico


### 7.添加新端口
不影响443端口的使用,查看帐号时仅展示443端口的帐号,支持多个端口的添加和删除。
不影响443端口的使用,查看账号时仅展示443端口的账号,支持多个端口的添加和删除。

<img src="https://raw.githubusercontent.com/mack-a/v2ray-agent/master/fodder/how_to_use/14.png" width=700>

Expand Down
18 changes: 9 additions & 9 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2342,7 +2342,7 @@ initXrayFrontingConfig() {
echoContent red "\n=============================================================="
echoContent yellow "# 注意事项\n"
echoContent yellow "会将前置替换为${xtlsType}"
echoContent yellow "如果前置是Trojan,查看帐号时则会出现两个Trojan协议的节点,有一个不可用xtls"
echoContent yellow "如果前置是Trojan,查看账号时则会出现两个Trojan协议的节点,有一个不可用xtls"
echoContent yellow "再次执行可切换至上一次的前置\n"

echoContent yellow "1.切换至${xtlsType}"
Expand Down Expand Up @@ -2972,14 +2972,14 @@ showAccounts() {
if echo "${currentInstallProtocolType}" | grep -q trojan; then
echoContent skyBlue "===================== Trojan TCP TLS/XTLS-direct/XTLS-splice ======================\n"
jq .inbounds[0].settings.clients ${configPath}02_trojan_TCP_inbounds.json | jq -c '.[]' | while read -r user; do
echoContent skyBlue "\n ---> 帐号:$(echo "${user}" | jq -r .email)"
echoContent skyBlue "\n ---> 账号:$(echo "${user}" | jq -r .email)"
defaultBase64Code trojanTCPXTLS "$(echo "${user}" | jq -r .email)" "$(echo "${user}" | jq -r .password)"
done

else
echoContent skyBlue "===================== VLESS TCP TLS/XTLS-direct/XTLS-splice ======================\n"
jq .inbounds[0].settings.clients ${configPath}02_VLESS_TCP_inbounds.json | jq -c '.[]' | while read -r user; do
echoContent skyBlue "\n ---> 帐号:$(echo "${user}" | jq -r .email)"
echoContent skyBlue "\n ---> 账号:$(echo "${user}" | jq -r .email)"
echo
defaultBase64Code vlesstcp "$(echo "${user}" | jq -r .email)" "$(echo "${user}" | jq -r .id)"
done
Expand All @@ -2990,7 +2990,7 @@ showAccounts() {
echoContent skyBlue "\n================================ VLESS WS TLS CDN ================================\n"

jq .inbounds[0].settings.clients ${configPath}03_VLESS_WS_inbounds.json | jq -c '.[]' | while read -r user; do
echoContent skyBlue "\n ---> 帐号:$(echo "${user}" | jq -r .email)"
echoContent skyBlue "\n ---> 账号:$(echo "${user}" | jq -r .email)"
echo
local path="${currentPath}ws"
# if [[ ${coreInstallType} == "1" ]]; then
Expand All @@ -3009,7 +3009,7 @@ showAccounts() {
path="${currentPath}vws"
fi
jq .inbounds[0].settings.clients ${configPath}05_VMess_WS_inbounds.json | jq -c '.[]' | while read -r user; do
echoContent skyBlue "\n ---> 帐号:$(echo "${user}" | jq -r .email)"
echoContent skyBlue "\n ---> 账号:$(echo "${user}" | jq -r .email)"
echo
defaultBase64Code vmessws "$(echo "${user}" | jq -r .email)" "$(echo "${user}" | jq -r .id)"
done
Expand All @@ -3022,7 +3022,7 @@ showAccounts() {
# local serviceName
# serviceName=$(jq -r .inbounds[0].streamSettings.grpcSettings.serviceName ${configPath}06_VLESS_gRPC_inbounds.json)
jq .inbounds[0].settings.clients ${configPath}06_VLESS_gRPC_inbounds.json | jq -c '.[]' | while read -r user; do
echoContent skyBlue "\n ---> 帐号:$(echo "${user}" | jq -r .email)"
echoContent skyBlue "\n ---> 账号:$(echo "${user}" | jq -r .email)"
echo
defaultBase64Code vlessgrpc "$(echo "${user}" | jq -r .email)" "$(echo "${user}" | jq -r .id)"
done
Expand All @@ -3033,7 +3033,7 @@ showAccounts() {
if echo ${currentInstallProtocolType} | grep -q 4; then
echoContent skyBlue "\n================================== Trojan TLS ==================================\n"
jq .inbounds[0].settings.clients ${configPath}04_trojan_TCP_inbounds.json | jq -c '.[]' | while read -r user; do
echoContent skyBlue "\n ---> 帐号:$(echo "${user}" | jq -r .email)"
echoContent skyBlue "\n ---> 账号:$(echo "${user}" | jq -r .email)"

defaultBase64Code trojan "$(echo "${user}" | jq -r .email)" "$(echo "${user}" | jq -r .password)"
done
Expand All @@ -3045,7 +3045,7 @@ showAccounts() {
# local serviceName=
# serviceName=$(jq -r .inbounds[0].streamSettings.grpcSettings.serviceName ${configPath}04_trojan_gRPC_inbounds.json)
jq .inbounds[0].settings.clients ${configPath}04_trojan_gRPC_inbounds.json | jq -c '.[]' | while read -r user; do
echoContent skyBlue "\n ---> 帐号:$(echo "${user}" | jq -r .email)"
echoContent skyBlue "\n ---> 账号:$(echo "${user}" | jq -r .email)"
echo
defaultBase64Code trojangrpc "$(echo "${user}" | jq -r .email)" "$(echo "${user}" | jq -r .password)"
done
Expand Down Expand Up @@ -3195,7 +3195,7 @@ addCorePort() {
echoContent yellow "# 注意事项\n"
echoContent yellow "支持批量添加"
echoContent yellow "不影响443端口的使用"
echoContent yellow "查看帐号时,只会展示默认端口443的帐号"
echoContent yellow "查看账号时,只会展示默认端口443的账号"
echoContent yellow "不允许有特殊字符,注意逗号的格式"
echoContent yellow "录入示例:2053,2083,2087\n"

Expand Down
2 changes: 1 addition & 1 deletion shell/install_en.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2620,7 +2620,7 @@ showAccounts() {
path="${currentPath}vws?ed=2048"
fi
jq .inbounds[0].settings.clients ${configPath}05_VMess_WS_inbounds.json | jq -c '.[]' | while read -r user; do
echoContent skyBlue "\n ---> 帐号$(echo "${user}" | jq -r .email )_$(echo "${user}" | jq -r .id)"
echoContent skyBlue "\n ---> 账号$(echo "${user}" | jq -r .email )_$(echo "${user}" | jq -r .id)"
echo
defaultBase64Code vmessws $(echo "${user}" | jq -r .email) $(echo "${user}" | jq -r .id) "${currentHost}:${currentPort}" ${path} ${currentAdd}
done
Expand Down

0 comments on commit 1717438

Please sign in to comment.