mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-04-29 06:26:13 +02:00
fix: updater permission denied on .github — add to protected dirs
The auto-updater tried to extract .github/ from the release zip, causing Permission denied errors. Added .github and .claude to the protected directories list so they are skipped during extraction. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Former-commit-id: 8916fa08e005820ddbfc3b195c387dbf6187587e
This commit is contained in:
@@ -25,7 +25,7 @@ GITHUB_RELEASES_URL = "https://api.github.com/repos/BigBodyCobain/Shadowbroker/r
|
||||
# ---------------------------------------------------------------------------
|
||||
# Protected patterns — files/dirs that must NEVER be overwritten during update
|
||||
# ---------------------------------------------------------------------------
|
||||
_PROTECTED_DIRS = {"venv", "node_modules", ".next", "__pycache__", ".git"}
|
||||
_PROTECTED_DIRS = {"venv", "node_modules", ".next", "__pycache__", ".git", ".github", ".claude"}
|
||||
_PROTECTED_EXTENSIONS = {".db", ".sqlite"}
|
||||
_PROTECTED_NAMES = {
|
||||
".env",
|
||||
|
||||
Reference in New Issue
Block a user