From c3c8dc2dce5d43b90374d588d470e68631472a82 Mon Sep 17 00:00:00 2001 From: Gorochu Date: Fri, 29 May 2026 22:23:38 +0000 Subject: [PATCH] Update leenkx/blender/lnx/make.py --- leenkx/blender/lnx/make.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/leenkx/blender/lnx/make.py b/leenkx/blender/lnx/make.py index 6829be82..2996097e 100644 --- a/leenkx/blender/lnx/make.py +++ b/leenkx/blender/lnx/make.py @@ -223,8 +223,8 @@ def export_data_impl(fp, sdk_path): shutil.rmtree(build_dir + '/windows-resources', onerror=remove_readonly) if os.path.isdir(build_dir + '/linux-resources'): shutil.rmtree(build_dir + '/linux-resources', onerror=remove_readonly) - if os.path.isdir(build_dir + '/osx-resources'): - shutil.rmtree(build_dir + '/osx-resources', onerror=remove_readonly) + if os.path.isdir(build_dir + '/macos-resources'): + shutil.rmtree(build_dir + '/macos-resources', onerror=remove_readonly) if os.path.isdir(build_dir + '/compiled/Shaders'): shutil.rmtree(build_dir + '/compiled/Shaders', onerror=remove_readonly) @@ -531,7 +531,7 @@ def build(target, is_play=False, is_publish=False, is_export=False): target = 'windows-hl' elif current_os == 'linux': target = 'linux-hl' - elif current_os == 'mac' or current_os == 'macos': + elif current_os == 'mac' or current_os == 'osx' or current_os == 'macos': target = 'macos-hl' else: log.error(f"Unsupported OS '{current_os}' for Hashlink runtime.") @@ -1312,7 +1312,7 @@ def build_success(): if target_name == 'html5': project_path = files_path print('Exported HTML5 package to ' + project_path) - elif target_name.startswith('ios') or target_name.startswith('osx'): # TODO: to macos + elif target_name.startswith('ios') or target_name.startswith('osx') or target_name.startswith('macos'): project_path = files_path + '-build' print('Exported XCode project to ' + project_path) elif target_name.startswith('windows'):