Commit Graph
9 Commits
Author SHA1 Message Date
0chencc 82b36db641 fix: uninstall cleanup, shell detection, issue templates
- Uninstall: remove our launcher when no claude.orig exists,
  instead of leaving a broken script pointing to deleted cli.js
- PATH hint: detect actual shell (bash/zsh/fish) instead of
  hardcoding ~/.zshrc
- Add GitHub issue templates (bug report + feature request)
  requiring OS, Claude version, install method, and logs

Fixes #12, fixes #14, fixes #5
2026-04-03 13:52:54 +09:00
0chencc 8a27466fa0 fix: detect claude path via which, fix set -e exit on grep failure
- Use `which claude` to detect actual binary location instead of
  hardcoding ~/.local/bin/ — supports pnpm, npm, yarn global installs
- Add `|| true` to prevent set -e from killing script when
  grep fails to match Mach-O/ELF in versions directory
- Backup and restore now handle both detected path and default path
- Uninstall checks both locations for claude.orig

Fixes #7
2026-04-03 13:46:20 +09:00
0chencc 349d3b1b21 fix: Windows patch not taking effect, clarify project nature
Windows fixes:
- Rename claude.exe → claude.orig.exe instead of delete (works even
  if exe is running, handles repeated installs safely)
- Fix package.json: merge "type":"module" instead of overwriting
  (was destroying npm dependencies)
- Fix launcher path: proper expansion for paths with spaces

README (EN/ZH/JP):
- Clarify this is NOT a third-party client, but a runtime patch
  on top of official Claude Code that works across versions
2026-04-02 13:32:37 +09:00
0chencc 8779ed8a23 fix: ESM module warning, shell cache, cautious actions syntax error
- Add "type": "module" to package.json after npm install (fixes #2)
- Run hash -r after install + warn user to restart terminal (fixes #1)
- Fix cautious actions removal: replace entire function body instead
  of deleting template content (was causing SyntaxError)
- Remove 'lin' alias from public release

Closes #1, closes #2
2026-04-02 12:32:42 +09:00
0chencc 6944d3bced feat: add landing page for clawgod.0chen.cc 2026-04-02 00:13:46 +09:00
0chencc 25715cfa9b docs: update all install URLs to GitHub Release direct links 2026-04-02 00:10:10 +09:00
0chencc 9ef88a9b1c docs: add bypass screenshot showing green logo after patch 2026-04-01 21:08:41 +09:00
0chencc e3286f3c81 feat: initial release — ClawGod, god mode for Claude Code
- README with i18n (EN / ZH / JP)
- install.sh / install.ps1 redirect to Release assets
- CNAME for clawgod.0chen.cc
2026-04-01 20:42:51 +09:00
0chencc 40c3d9ae1d Initial commit 2026-04-01 19:09:07 +08:00