fix: harden screenshot capture and diagnostics

This commit is contained in:
Your Name committed 2026-06-28 13:44:40 +08:00
1 parent ee3424cd9e
commit f010853b97
19 files changed
+870 -70

No files matched your search

+6
View File
@@ -214,6 +214,12 @@ def find_missing_required_runtime_entries(entries: list[str]) -> list[str]:
missing.append("_internal/python*.dll")
if "_internal/base_library.zip" not in normalized:
missing.append("_internal/base_library.zip")
for required in ("_internal/paddlex/.version",):
if required.lower() not in normalized:
missing.append(required)
for prefix in ("_internal/paddle/",):
if not any(entry.startswith(prefix) for entry in normalized):
missing.append(prefix + "*")
return missing