createapp: move source command earlier

pull/662/head
Botspot 4 years ago
parent 073257a1b9
commit 8be5077586

@ -6,6 +6,9 @@ function error {
exit 1
}
#for text_editor() and script_name() functions
source "${DIRECTORY}/api" || error "failed to source ${DIRECTORY}/api"
#you can specify a preexisting app with variable 1
if [ ! -z "$1" ];then
name="$1"
@ -24,9 +27,6 @@ windowheight=400
#start with this app name:
#name='Email Checker'
#for text_editor() and script_name() functions
source "${DIRECTORY}/api"
while true;do
case $step in
1) #STEP 1: introduction

Loading…
Cancel
Save