File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 22LASTEST=" test"
33
44if [ -f " $HOME /.local/bin/kt-encabulator" ]; then
5- read -p " Found existing binary in local bin. Do you wish to Continue (y/n)? " choice
5+ echo -e " > Found existing binary in local bin. Do you wish to Continue? \e[1;34m (y/n)\e[0m "
66
7+ read choice < /dev/tty
78 case " $choice " in
89 y|Y ) rm -r " $HOME /.local/bin/kt-encabulator" ;;
9- * ) echo " Exiting." ; exit ;;
10+ * ) echo " The existing file will not be overwritten. Exiting.. ." ; exit ;;
1011 esac
1112fi
1213
13- echo " Downloading file with curl."
14+ echo " "
15+ echo -e " > Downloading binary with curl...\n"
1416curl -L -o " $HOME /.local/bin/kt-encabulator" " https://github.com/Olypolyu/Kotlin-Encabulator/releases/download/$LASTEST /kt-encabulator"
1517chmod +x " $HOME /.local/bin/kt-encabulator"
16- echo " Ready to go! Execute with ` $kt -encabulator` "
18+
19+ echo " "
20+ echo -e " \e[1;32mReady to go!\e[0m Execute with \" \e[1;34mkt-encabulator\e[0m\" "
21+ echo " - Run with -h or --help for documentation."
22+ echo " "
You can’t perform that action at this time.
0 commit comments