forked from Onek8/LNXSDK
Update leenkx/blender/lnx/make.py
This commit is contained in:
@ -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'):
|
||||
|
||||
Reference in New Issue
Block a user