-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·60 lines (54 loc) · 1.74 KB
/
setup.sh
File metadata and controls
executable file
·60 lines (54 loc) · 1.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#!/bin/bash
# setup.sh - Verify notification plugin installation
set -e
echo "=========================================="
echo " Claude Notifications Plugin - Setup"
echo "=========================================="
echo ""
# Check if wrapper script exists
if [ ! -f "bin/claude-notifications" ]; then
echo "❌ Error: bin/claude-notifications wrapper not found"
echo ""
echo "This file should be included in the repository."
exit 1
fi
# Check if installer exists
if [ ! -f "bin/install.sh" ]; then
echo "❌ Error: bin/install.sh installer not found"
echo ""
echo "This file should be included in the repository."
exit 1
fi
# Make scripts executable
chmod +x bin/claude-notifications
chmod +x bin/install.sh
echo "✓ Plugin scripts verified"
echo ""
echo "=========================================="
echo " Setup Complete!"
echo "=========================================="
echo ""
echo "Next steps:"
echo ""
echo "1. Add marketplace to Claude Code:"
echo " /plugin marketplace add 777genius/claude-notifications-go"
echo ""
echo "2. Install plugin:"
echo " /plugin install claude-notifications-go@claude-notifications-go"
echo ""
echo "3. Restart Claude Code for hooks to take effect"
echo ""
echo "4. Download the binary for your platform:"
echo " /claude-notifications-go:notifications-init"
echo ""
echo "5. Configure notification sounds (optional):"
echo " /claude-notifications-go:notifications-settings"
echo ""
echo " This will let you:"
echo " - Preview and choose notification sounds"
echo " - Configure volume"
echo " - Set up webhooks (optional)"
echo ""
echo "Note: The binary will be downloaded automatically when you"
echo " run /claude-notifications-go:notifications-init for the first time."
echo ""