From 932e0a41607210dfaf78ae049b16b27355d51a0b Mon Sep 17 00:00:00 2001 From: retrozinndev Date: Sat, 16 Aug 2025 22:22:15 -0300 Subject: [PATCH] :boom: fix(install): enter project root directory before building --- install.sh | 4 ++++ 1 file changed, 4 insertions(+) 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