File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -914,7 +914,7 @@ def CreateSymlinks(local):
914914
915915def EnableMode (local ):
916916 args = ["python3" , "-m" , "mytoncore" , "-e" ]
917- if local .buffer .mode :
917+ if local .buffer .mode and local . buffer . mode != "none" :
918918 args .append ("enable_mode_" + local .buffer .mode )
919919 else :
920920 return
Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ dump=false
5151only_mtc=false
5252only_node=false
5353backup=none
54+ mode=none
5455cpu_required=16
5556mem_required=64000000 # 64GB in KB
5657
@@ -84,7 +85,7 @@ if [ "$only_mtc" = true ] && [ "$backup" = "none" ]; then
8485fi
8586
8687
87- if [ " ${mode} " = " " ] && [ " $backup " = " none" ]; then # no mode or backup was provided
88+ if [ " ${mode} " = " none " ] && [ " $backup " = " none" ]; then # no mode or backup was provided
8889 echo " Running cli installer"
8990 wget https://raw.githubusercontent.com/${author} /${repo} /${branch} /scripts/install.py
9091 pip3 install inquirer==3.4.0
You can’t perform that action at this time.
0 commit comments