mirror of
https://github.com/SuperClaude-Org/SuperClaude_Framework.git
synced 2025-12-29 16:16:08 +00:00
Exclude local/ folder from SuperClaude backups
- Update installer backup to exclude local/ directory containing Claude Code files - Update backup command to skip files in local/ and backups/ directories - Prevent Claude Code installation files from being included in SuperClaude backups 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -156,9 +156,9 @@ class Installer:
|
||||
# Ensure temp backup directory exists
|
||||
temp_backup.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
# Copy all files except backups directory
|
||||
# Copy all files except backups and local directories
|
||||
for item in self.install_dir.iterdir():
|
||||
if item.name != "backups":
|
||||
if item.name not in ["backups", "local"]:
|
||||
try:
|
||||
if item.is_file():
|
||||
shutil.copy2(item, temp_backup / item.name)
|
||||
|
||||
Reference in New Issue
Block a user