Очистить проект от сборок и отчётов, оставить README на русском

This commit is contained in:
scandalist-trash committed 2026-10-27 11:19:07 -04:00
1 parent ee5f6f580e
commit ce9fe1bb03
42 files changed
+146 -2529

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
"""Developer-only deterministic asset manifest update. Review changes before release."""
"""Обновление манифеста ресурсов при разработке; изменения проверяются перед выпуском."""
import hashlib,json
from pathlib import Path
root=Path(__file__).resolve().parents[1]
@@ -14,4 +14,4 @@ manifest={'schema_version':1,'assets':[{'path':alias,'sha256':hashlib.sha256(pat
files.append(('asset-manifest.json',root/'resources/asset-manifest.json'))
import os
(root/'resources/resources.qrc').write_text('<RCC><qresource prefix="/">\n'+''.join(f' <file alias="{alias}">{os.path.relpath(path,root/"resources")}</file>\n' for alias,path in files)+'</qresource></RCC>\n')
print(f'Updated {len(manifest["assets"])} embedded asset digests and resources.qrc')
print(f'Обновлены хеши встроенных ресурсов ({len(manifest["assets"])}) и resources.qrc')