diff --git a/install.sh b/install.sh index cb02568..0cc42fa 100755 --- a/install.sh +++ b/install.sh @@ -83,6 +83,8 @@ if [[ "$answer" == "y" ]] || [[ "$skip_prompts" ]]; then done Send_log "Building colorshell..." + prev_wd=`pwd` + cd "$repo_directory" pnpm build:release Send_log "Installing colorshell" @@ -96,6 +98,8 @@ if [[ "$answer" == "y" ]] || [[ "$skip_prompts" ]]; then Send_log "Cleaning" pnpm clean + cd "$prev_wd" + if [[ -z "$skip_prompts" ]]; then echo "Colorshell is installed! :D" sleep .8