fix(install): template hook paths for OpenCode/Gemini runtimes (#585)
Hooks had hardcoded `.claude` paths that broke OpenCode users. The installer now templates `.js` hooks with runtime-specific config dirs, same as it already does for `.md` files. Also added `./.claude/` replacement for local install paths in workflows. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -14,11 +14,11 @@ After a GSD update wipes and reinstalls files, this command merges user's previo
|
||||
Check for local patches directory:
|
||||
|
||||
```bash
|
||||
# Global install
|
||||
PATCHES_DIR="${HOME}/.claude/gsd-local-patches"
|
||||
# Global install (path templated at install time)
|
||||
PATCHES_DIR=~/.claude/gsd-local-patches
|
||||
# Local install fallback
|
||||
if [ ! -d "$PATCHES_DIR" ]; then
|
||||
PATCHES_DIR="./.claude/gsd-local-patches"
|
||||
PATCHES_DIR=./.claude/gsd-local-patches
|
||||
fi
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user