File tree Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,6 @@ def run_cli():
3838 "dump" ,
3939 message = "Do you want to download blockchain's dump? "
4040 "This reduces synchronization time but requires to download a large file" ,
41- ),
42- inquirer .Confirm (
43- "telemetry" ,
44- message = "Are you agree with sending your node performance statistics?"
4541 )
4642 ]
4743
@@ -57,7 +53,6 @@ def parse_args(answers: dict):
5753 archive_ttl = answers ["archive-ttl" ]
5854 validator_mode = answers ["validator-mode" ]
5955 dump = answers ["dump" ]
60- telemetry = answers ["telemetry" ]
6156
6257 res = f' -n { network } '
6358
@@ -80,8 +75,6 @@ def parse_args(answers: dict):
8075
8176 if dump :
8277 res += ' -d'
83- if not telemetry :
84- res += ' -t'
8578
8679 return res
8780
Original file line number Diff line number Diff line change 1515author=" ton-blockchain"
1616repo=" mytonctrl"
1717branch=" master"
18- mode=" validator"
1918network=" mainnet"
2019ton_node_version=" master" # Default version
2120
@@ -68,12 +67,11 @@ while getopts ":c:tida:r:b:m:n:v:h" flag; do
6867done
6968
7069
71- if (( $# == 0 )) ; then # no arguments
70+ if [ " ${mode} " = " " ] ; then # no mode
7271 echo " Running cli installer"
73- wget https://raw.githubusercontent.com/ton-blockchain/mytonctrl/master /scripts/install.py
72+ wget https://raw.githubusercontent.com/${author} / ${repo} / ${branch} /scripts/install.py
7473 pip3 install inquirer
7574 python3 install.py
76- # python3 scripts/install.py
7775 exit
7876fi
7977
You can’t perform that action at this time.
0 commit comments