fix: refresh privacy-core pin on source startup

This commit is contained in:
BigBodyCobain
2026-05-02 09:38:13 -06:00
parent 447afe0b2b
commit 9122d306cd
3 changed files with 112 additions and 1 deletions
+8 -1
View File
@@ -258,7 +258,14 @@ if not exist "%PRIVACY_CORE_DLL%" (
cd /d "%ROOT%\backend"
)
)
if exist "%PRIVACY_CORE_DLL%" echo [*] privacy-core DLL OK.
if exist "%PRIVACY_CORE_DLL%" (
echo [*] privacy-core DLL OK.
"%VENV_PY%" "%ROOT%\scripts\refresh_privacy_core_pin.py"
if errorlevel 1 (
echo [!] WARNING: privacy-core trust pin refresh failed. Startup may fail if backend\.env pins an old hash.
echo.
)
)
cd /d "%ROOT%"