💥 fix(install): enter project root directory before building

This commit is contained in:
retrozinndev
2025-08-16 22:22:15 -03:00
parent dcbd3dcdcb
commit 932e0a4160
+4
View File
@@ -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