main #3

Merged
LeenkxTeam merged 8 commits from Dante/LNXSDK:main into main 2026-05-31 05:25:07 +00:00
6 changed files with 13 additions and 9 deletions
Showing only changes of commit ca3e6beca1 - Show all commits

View File

@ -368,7 +368,7 @@ def get_node_path():
return get_sdk_path() + '/nodejs/node.exe'
elif get_os() == 'mac':
import platform
node_bin = 'node-macos_arm64' if platform.machine() == 'arm64' else 'node-osx'
node_bin = 'node-macos_arm64' if platform.machine() == 'arm64' else 'node-macos_x64'
return get_sdk_path() + f'/nodejs/{node_bin}'
else:
return get_sdk_path() + '/nodejs/node-linux64'
@ -1072,8 +1072,8 @@ def def_strings_to_array(strdefs):
return defs
def get_kha_target(target_name): # TODO: remove
if target_name == 'macos-hl':
return 'osx-hl'
if target_name == 'osx-hl' or target_name == 'macos-hl':
return 'macos-hl'
elif target_name.startswith('krom'): # krom-windows
return 'krom'
elif target_name == 'custom':