Fix installation script to use dynamic source file path for CLAUDE.md
This commit is contained in:
+3
-1
@@ -15,7 +15,9 @@ if sys.platform == "win32":
|
||||
else:
|
||||
claude_dir = pathlib.Path(os.environ["HOME"]) / ".claude"
|
||||
|
||||
source_file = pathlib.Path(__file__).resolve().parent / "CLAUDE.md"
|
||||
|
||||
print(f"Installing CLAUDE.md to {claude_dir}/CLAUDE.md")
|
||||
|
||||
os.makedirs(claude_dir, exist_ok=True)
|
||||
shutil.copy("CLAUDE.md", claude_dir / "CLAUDE.md")
|
||||
shutil.copy(source_file, claude_dir / "CLAUDE.md")
|
||||
|
||||
Reference in New Issue
Block a user