From 982329a3eba75895c2b983822c49fa8c2882efd6 Mon Sep 17 00:00:00 2001 From: "mr.mojtaba" Date: Mon, 19 May 2025 09:43:11 +0330 Subject: [PATCH] chore : change for package using --- tools/vecGeneratoe.sh | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) 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