Improve any experience and README.md

This commit is contained in:
2020-04-10 14:12:04 +08:00
parent 4f0b3f21ee
commit 3a64caadbe
2 changed files with 19 additions and 15 deletions
+7 -8
View File
@@ -84,7 +84,7 @@ main_menu()
echo -e "--------------------------------------------------"
echo -e "Please Enter Your Choice"
echo -e ""
echo -e "[${yellow}1-$app_num${plain}]:Chose Application ${yellow}q${plain}:Exit Menu ${yellow}a${plain}:Details"
echo -e "[${yellow}1-$app_num${plain}]:Chose Application ${yellow}q${plain}:Quit ${yellow}d${plain}:Details"
echo -e "--------------------------------------------------"
echo -e ""
@@ -109,10 +109,10 @@ main_menu()
echo -e
function_menu
;;
q)
q|Q)
exit 0
;;
a)
d|D)
## Show details all of application
clear
printf "%-25s %-15s %-5s %-10s\n" "Application" "Version" "Size" "LastUpdated"
@@ -268,13 +268,12 @@ function_menu()
node_id=${module_name}_${domain}
cmd="${startup_script} ${cur_app} -serverAddr ${conf_center_host} -appDataId ${profile_app} -commonDataId ${profile_common} -group ${conf_group} -filedir ${conf_directory}${moddule_name}/ -nodeId ${node_id}"
#echo ${cmd}
cmd="export HOME=${base_home};${startup_script} ${cur_app} -serverAddr ${conf_center_host} -appDataId ${profile_app} -commonDataId ${profile_common} -group ${conf_group} -filedir ${conf_directory}${moddule_name}/ -nodeId ${node_id}"
clear
echo -e ""
echo -e "${blue}>> Now prepare startup application, please wait a moment...${plain}"
sh ${cmd}
#exit 0
#sh ${cmd}
inject ${cmd}
echo -e "" && read -s -n1 -p "Press any key continue..."
break
@@ -313,7 +312,7 @@ function_menu()
inject ${cmd}
break
;;
b|q)
b|q|B|Q)
break
;;
*)