@@ -26,24 +26,24 @@ install() {
2626 mkdir /root/encrypt_miner_proxy/cert
2727
2828 echo " 请选择版本"
29- echo " 1、v2 .0.3 "
30- echo " 2、v3.0.0 "
29+ echo " 1、v3 .0.0 "
30+ echo " 2、v3.0.1 "
3131 read -p " $( echo -e " 请输入[1-2]:" ) " choose
3232 case $choose in
3333 1)
34- wget https://github.com/ryu0007/EncryptMinerProxy/blob/main/encrypt-miner-proxy/v2.0.3/encrypt-miner-proxy_client_linux_amd64? raw=true -O /root/encrypt_miner_proxy/encrypt-miner-proxy
35- wget https://raw.githubusercontent.com/ryu0007/EncryptMinerProxy/main/encrypt-miner-proxy/v2.0.3/configs/client_sync_proxy_config.yaml -O /root/encrypt_miner_proxy/configs/client_sync_proxy_config.yaml
36- wget https://raw.githubusercontent.com/ryu0007/EncryptMinerProxy/main/encrypt-miner-proxy/v2.0.3/configs/client_proxy_config.yaml -O /root/encrypt_miner_proxy/configs/client_proxy_config.yaml
37- wget https://raw.githubusercontent.com/ryu0007/EncryptMinerProxy/main/encrypt-miner-proxy/v2.0.3/cert/cert.pem -O /root/encrypt_miner_proxy/cert/cert.pem
38- wget https://raw.githubusercontent.com/ryu0007/EncryptMinerProxy/main/encrypt-miner-proxy/v2.0.3/cert/key.pem -O /root/encrypt_miner_proxy/cert/key.pem
39- ;;
40- 2)
4134 wget https://github.com/ryu0007/EncryptMinerProxy/blob/main/encrypt-miner-proxy/v3.0.0/encrypt-miner-proxy_client_linux_amd64? raw=true -O /root/encrypt_miner_proxy/encrypt-miner-proxy
4235 wget https://raw.githubusercontent.com/ryu0007/EncryptMinerProxy/main/encrypt-miner-proxy/v3.0.0/configs/client_sync_proxy_config.yaml -O /root/encrypt_miner_proxy/configs/client_sync_proxy_config.yaml
4336 wget https://raw.githubusercontent.com/ryu0007/EncryptMinerProxy/main/encrypt-miner-proxy/v3.0.0/configs/client_proxy_config.yaml -O /root/encrypt_miner_proxy/configs/client_proxy_config.yaml
4437 wget https://raw.githubusercontent.com/ryu0007/EncryptMinerProxy/main/encrypt-miner-proxy/v3.0.0/cert/cert.pem -O /root/encrypt_miner_proxy/cert/cert.pem
4538 wget https://raw.githubusercontent.com/ryu0007/EncryptMinerProxy/main/encrypt-miner-proxy/v3.0.0/cert/key.pem -O /root/encrypt_miner_proxy/cert/key.pem
4639 ;;
40+ 2)
41+ wget https://github.com/ryu0007/EncryptMinerProxy/blob/main/encrypt-miner-proxy/v3.0.1/encrypt-miner-proxy_client_linux_amd64? raw=true -O /root/encrypt_miner_proxy/encrypt-miner-proxy
42+ wget https://raw.githubusercontent.com/ryu0007/EncryptMinerProxy/main/encrypt-miner-proxy/v3.0.1/configs/client_sync_proxy_config.yaml -O /root/encrypt_miner_proxy/configs/client_sync_proxy_config.yaml
43+ wget https://raw.githubusercontent.com/ryu0007/EncryptMinerProxy/main/encrypt-miner-proxy/v3.0.1/configs/client_proxy_config.yaml -O /root/encrypt_miner_proxy/configs/client_proxy_config.yaml
44+ wget https://raw.githubusercontent.com/ryu0007/EncryptMinerProxy/main/encrypt-miner-proxy/v3.0.1/cert/cert.pem -O /root/encrypt_miner_proxy/cert/cert.pem
45+ wget https://raw.githubusercontent.com/ryu0007/EncryptMinerProxy/main/encrypt-miner-proxy/v3.0.1/cert/key.pem -O /root/encrypt_miner_proxy/cert/key.pem
46+ ;;
4747 * )
4848 echo " 请输入正确的数字"
4949 ;;
@@ -89,24 +89,24 @@ update() {
8989 rm -rf /root/encrypt_miner_proxy/encrypt-miner-proxy
9090
9191 echo " 请选择版本"
92- echo " 1、v2 .0.3 "
93- echo " 2、v3.0.0 "
92+ echo " 1、v3 .0.0 "
93+ echo " 2、v3.0.1 "
9494 read -p " $( echo -e " 请输入[1-2]:" ) " choose
9595 case $choose in
9696 1)
97- wget https://github.com/ryu0007/EncryptMinerProxy/blob/main/encrypt-miner-proxy/v2.0.3/encrypt-miner-proxy_client_linux_amd64? raw=true -O /root/encrypt_miner_proxy/encrypt-miner-proxy
98- wget https://raw.githubusercontent.com/ryu0007/EncryptMinerProxy/main/encrypt-miner-proxy/v2.0.3/configs/client_sync_proxy_config.yaml -O /root/encrypt_miner_proxy/configs/client_sync_proxy_config.yaml
99- wget https://raw.githubusercontent.com/ryu0007/EncryptMinerProxy/main/encrypt-miner-proxy/v2.0.3/configs/client_proxy_config.yaml -O /root/encrypt_miner_proxy/configs/client_proxy_config.yaml
100- wget https://raw.githubusercontent.com/ryu0007/EncryptMinerProxy/main/encrypt-miner-proxy/v2.0.3/cert/cert.pem -O /root/encrypt_miner_proxy/cert/cert.pem
101- wget https://raw.githubusercontent.com/ryu0007/EncryptMinerProxy/main/encrypt-miner-proxy/v2.0.3/cert/key.pem -O /root/encrypt_miner_proxy/cert/key.pem
102- ;;
103- 2)
10497 wget https://github.com/ryu0007/EncryptMinerProxy/blob/main/encrypt-miner-proxy/v3.0.0/encrypt-miner-proxy_client_linux_amd64? raw=true -O /root/encrypt_miner_proxy/encrypt-miner-proxy
10598 wget https://raw.githubusercontent.com/ryu0007/EncryptMinerProxy/main/encrypt-miner-proxy/v3.0.0/configs/client_sync_proxy_config.yaml -O /root/encrypt_miner_proxy/configs/client_sync_proxy_config.yaml
10699 wget https://raw.githubusercontent.com/ryu0007/EncryptMinerProxy/main/encrypt-miner-proxy/v3.0.0/configs/client_proxy_config.yaml -O /root/encrypt_miner_proxy/configs/client_proxy_config.yaml
107100 wget https://raw.githubusercontent.com/ryu0007/EncryptMinerProxy/main/encrypt-miner-proxy/v3.0.0/cert/cert.pem -O /root/encrypt_miner_proxy/cert/cert.pem
108101 wget https://raw.githubusercontent.com/ryu0007/EncryptMinerProxy/main/encrypt-miner-proxy/v3.0.0/cert/key.pem -O /root/encrypt_miner_proxy/cert/key.pem
109102 ;;
103+ 2)
104+ wget https://github.com/ryu0007/EncryptMinerProxy/blob/main/encrypt-miner-proxy/v3.0.1/encrypt-miner-proxy_client_linux_amd64? raw=true -O /root/encrypt_miner_proxy/encrypt-miner-proxy
105+ wget https://raw.githubusercontent.com/ryu0007/EncryptMinerProxy/main/encrypt-miner-proxy/v3.0.1/configs/client_sync_proxy_config.yaml -O /root/encrypt_miner_proxy/configs/client_sync_proxy_config.yaml
106+ wget https://raw.githubusercontent.com/ryu0007/EncryptMinerProxy/main/encrypt-miner-proxy/v3.0.1/configs/client_proxy_config.yaml -O /root/encrypt_miner_proxy/configs/client_proxy_config.yaml
107+ wget https://raw.githubusercontent.com/ryu0007/EncryptMinerProxy/main/encrypt-miner-proxy/v3.0.1/cert/cert.pem -O /root/encrypt_miner_proxy/cert/cert.pem
108+ wget https://raw.githubusercontent.com/ryu0007/EncryptMinerProxy/main/encrypt-miner-proxy/v3.0.1/cert/key.pem -O /root/encrypt_miner_proxy/cert/key.pem
109+ ;;
110110 * )
111111 echo " 请输入正确的数字"
112112 ;;
0 commit comments