From 6df8f50fa19bb862ccd9441c064992903bc38242 Mon Sep 17 00:00:00 2001 From: Botspot Date: Thu, 8 Oct 2020 08:14:58 -0500 Subject: [PATCH] shellcheck for space-seperated names --- createapp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/createapp b/createapp index b556054..21b0d41 100755 --- a/createapp +++ b/createapp @@ -139,7 +139,7 @@ Do you want to edit ${name}?" --timeout=10 \ --text='Now it'\''s time to make your install script. This will be executed anytime somebody clicks the Install button. A text editor should have openened and you can create your install script.' \ --field="Run script":FBTN "lxterminal --title="\""Running install script of $name"\"" -e "\""cd $HOME;$'${DIRECTORY}/apps/${name}/install';echo 'Closing in 10 seconds.';sleep 10"\" \ - --field="Shellcheck"!!'Having problems? This utility helps you locate syntax errors.':FBTN "lxterminal --title="\""Shellcheck"\"" -e "\""[ ! -f /usr/bin/shellcheck ]&&sudo apt install -y shellcheck &>/dev/null;shellcheck ${DIRECTORY}/apps/${name}/install;echo 'Press Enter to exit.';read enter"\" \ + --field="Shellcheck"!!'Having problems? This utility helps you locate syntax errors.':FBTN "lxterminal --title="\""Shellcheck"\"" -e "\""[ ! -f /usr/bin/shellcheck ]&&sudo apt install -y shellcheck;shellcheck $'${DIRECTORY}/apps/${name}/install';echo 'Press Enter to exit.';read enter"\" \ --button=Previous!"${DIRECTORY}/icons/back.png":2 \ --button=Next!"${DIRECTORY}/icons/forward.png":0 \ 2>/dev/null)" @@ -172,7 +172,7 @@ A text editor should have openened and you can create your install script.' \ --text='Now it'\''s time to make your uninstall script. This will be executed anytime somebody clicks the Uninstall button. A text editor should have openened... Never mind, you know what to do.' \ --field="Run script":FBTN "lxterminal --title="\""Running uninstall script of $name"\"" -e "\""cd $HOME;$'${DIRECTORY}/apps/${name}/uninstall';echo 'Closing in 10 seconds.';sleep 10"\" \ - --field="Shellcheck"!!'Having problems? This utility helps you locate syntax errors.':FBTN "lxterminal --title="\""Shellcheck"\"" -e "\""[ ! -f /usr/bin/shellcheck ]&&sudo apt install -y shellcheck &>/dev/null;shellcheck ${DIRECTORY}/apps/${name}/uninstall;echo 'Press Enter to exit.';read enter"\" \ + --field="Shellcheck"!!'Having problems? This utility helps you locate syntax errors.':FBTN "lxterminal --title="\""Shellcheck"\"" -e "\""[ ! -f /usr/bin/shellcheck ]&&sudo apt install -y shellcheck;shellcheck $'${DIRECTORY}/apps/${name}/uninstall';echo 'Press Enter to exit.';read enter"\" \ --button=Previous!"${DIRECTORY}/icons/back.png":2 \ --button=Next!"${DIRECTORY}/icons/forward.png":0 \ 2>/dev/null)"