From 3cdd2c851e21d0dd8adc42a311ee1a4ebcc84ddb Mon Sep 17 00:00:00 2001 From: anoracleofra-code Date: Sat, 14 Mar 2026 14:23:03 -0600 Subject: [PATCH] =?UTF-8?q?fix:=20updater=20permission=20denied=20on=20.gi?= =?UTF-8?q?thub=20=E2=80=94=20add=20to=20protected=20dirs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Former-commit-id: 8916fa08e005820ddbfc3b195c387dbf6187587e --- backend/services/updater.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/services/updater.py b/backend/services/updater.py index fe6e537..90b4b3a 100644 --- a/backend/services/updater.py +++ b/backend/services/updater.py @@ -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",