Commit 96ba1fcd authored by Aral Balkan's avatar Aral Balkan

Improved prompt text.

parent 143b683d
......@@ -30,6 +30,7 @@ set -e
optionInstallEverything=false
optionFork=false
accountName=better
humanNameOfThingToInstall=null
ask() {
# Modified slightly from https://gist.github.com/davejamesmiller/1965569
......@@ -105,8 +106,8 @@ $prompt "
case "$REPLY" in
1 ) optionInstallEverything=true; break;;
2 ) optionInstallEverything=false; break;;
1 ) optionInstallEverything=true; humanNameOfThingToInstall="iOS App, etc.,"; break;;
2 ) optionInstallEverything=false; humanNameOfThingToInstall="Inspector"; break;;
$(( ${#options[@]}+1 )) ) echo "\nSee you later! :)\n"; exitPS; exit;;
*) echo "\nOops, I only understand numbers between 1 and 3.";continue;;
......@@ -116,7 +117,7 @@ $prompt "
done
# Question 2
title="\nShould I install from your forks or the canonical repositories?\n\n• Choose ‘use my forks’ if you want to hack on the code and submit\n merge requests easily. (Will automatically fork the projects\n if you haven’t done so already.)\n\n• Select ‘use canonical’ if you just want to run the app/inspector\n or if you have commit access to the canonical repositories.\n\n• If you have no idea what any of this means, pick option 2\n (or purchase & install Better from the App Store with a tap) ;)\n"
title="\nShould I install from your forks or the canonical repositories?\n\n• Choose ‘use my forks’ if you want to hack on the code and submit\n merge requests easily. (This will automatically fork the projects\n if you haven’t done so already yourself, so don’t worry.)\n\n• Select ‘use canonical’ if you just want to run the ${humanNameOfThingToInstall}\n or if you have commit access to the canonical repositories.\n\n• If you have no idea what any of this means, pick option 2\n (or purchase & install Better from the App Store with a tap) ;)\n"
prompt="▶ "
options=("Use my forks." "Use canonical.")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment