Now launch game process no longer blocking main thread.

This commit is contained in:
wei
2026-08-03 18:04:40 +08:00
parent e657a9642e
commit ed9d25023d
5 changed files with 468 additions and 97 deletions
+10 -3
View File
@@ -471,10 +471,17 @@ def check_natives_exists(manifest: dict, libraries_dir: Path, natives_dir: Path)
def check_full_libraries_exists(manifest: dict, libraries_dir: Path, natives_dir: Path) -> bool:
if not check_natives_exists(manifest, libraries_dir, natives_dir) or not check_libraries_exists(manifest, libraries_dir):
return False
natives_exist = check_natives_exists(
manifest,
libraries_dir,
natives_dir,
)
missing_libraries = check_libraries_exists(
manifest,
libraries_dir,
)
return True
return natives_exist and not missing_libraries
def generate_classpath(manifest: dict, libraries_dir: Path, core_file_path: Path):