@@ -26,24 +26,24 @@ install() {
26
26
mkdir /root/encrypt_miner_proxy/cert
27
27
28
28
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 "
31
31
read -p " $( echo -e " 请输入[1-2]:" ) " choose
32
32
case $choose in
33
33
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)
41
34
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
42
35
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
43
36
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
44
37
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
45
38
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
46
39
;;
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
+ ;;
47
47
* )
48
48
echo " 请输入正确的数字"
49
49
;;
@@ -89,24 +89,24 @@ update() {
89
89
rm -rf /root/encrypt_miner_proxy/encrypt-miner-proxy
90
90
91
91
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 "
94
94
read -p " $( echo -e " 请输入[1-2]:" ) " choose
95
95
case $choose in
96
96
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)
104
97
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
105
98
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
106
99
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
107
100
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
108
101
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
109
102
;;
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
+ ;;
110
110
* )
111
111
echo " 请输入正确的数字"
112
112
;;
0 commit comments