fix: автодетект --cli в Bootstrap, отображение локальных сборок в JFX, обработка ошибок установки и друзей

This commit is contained in:
SashegDev
2026-06-30 13:44:26 +00:00
parent 0a2b80ed06
commit e49e630afe
10 changed files with 569 additions and 50 deletions
+4 -4
View File
@@ -232,10 +232,10 @@ async def lifespan(app: FastAPI):
# ====================== MIRROR SYNC HELPERS ======================
async def _calculate_file_hash_async(file_path: Path) -> Optional[str]:
"""Calculate SHA256 hash of a file asynchronously"""
try:
loop = asyncio.get_running_loop()
async def _calculate_file_hash_async(file_path: Path) -> Optional[str]:
"""Calculate SHA256 hash of a file asynchronously"""
try:
loop = asyncio.get_running_loop()
def _hash():
h = hashlib.sha256()
with open(file_path, "rb") as f: