diff --git a/tools/vecGeneratoe.sh b/tools/vecGeneratoe.sh index 4f92558..1b84fb3 100644 --- a/tools/vecGeneratoe.sh +++ b/tools/vecGeneratoe.sh @@ -1,8 +1,20 @@ #!/bin/bash + +# Relative path to the package +PACKAGE_PATH="../packages/core" + +# Get absolute path to the package +SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" +PACKAGE_ABS_PATH="$SCRIPT_DIR/$PACKAGE_PATH" + +echo "🗃️ package path: $PACKAGE_ABS_PATH" + # Directory to read files from -sourcePath="assets/icons" -targetPath="assets/vec" +sourcePath="$PACKAGE_ABS_PATH/assets/icons" +targetPath="$PACKAGE_ABS_PATH/assets/vec" +echo "🗃️ sourcePath path: $sourcePath" +echo "🗃️ targetPath path: $targetPath" if [ ! -e "$targetPath" ]; then