claude-code-tracker 1.1.3 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/install.sh +14 -4
- package/package.json +1 -1
package/install.sh
CHANGED
|
@@ -7,11 +7,21 @@ SETTINGS="$HOME/.claude/settings.json"
|
|
|
7
7
|
|
|
8
8
|
echo "Installing claude-code-tracker..."
|
|
9
9
|
|
|
10
|
-
#
|
|
10
|
+
# Install scripts
|
|
11
11
|
mkdir -p "$INSTALL_DIR"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
|
|
13
|
+
# Detect Homebrew install (SCRIPT_DIR is inside a Cellar path)
|
|
14
|
+
if [[ "$SCRIPT_DIR" == */Cellar/* ]]; then
|
|
15
|
+
# Symlink scripts — avoids macOS provenance xattr issues on upgrade
|
|
16
|
+
for f in "$SCRIPT_DIR/src/"*.sh "$SCRIPT_DIR/src/"*.py; do
|
|
17
|
+
ln -sf "$f" "$INSTALL_DIR/$(basename "$f")"
|
|
18
|
+
done
|
|
19
|
+
else
|
|
20
|
+
# Direct copy for npm / git-clone installs
|
|
21
|
+
rm -f "$INSTALL_DIR/"*.sh "$INSTALL_DIR/"*.py 2>/dev/null || true
|
|
22
|
+
cp "$SCRIPT_DIR/src/"*.sh "$SCRIPT_DIR/src/"*.py "$INSTALL_DIR/"
|
|
23
|
+
chmod +x "$INSTALL_DIR/"*.sh "$INSTALL_DIR/"*.py
|
|
24
|
+
fi
|
|
15
25
|
|
|
16
26
|
echo "Scripts installed to $INSTALL_DIR"
|
|
17
27
|
|