This commit is contained in:
Dante
2026-05-21 23:40:20 -07:00
parent 3e2915dff7
commit 877a69d844
5737 changed files with 29796 additions and 1589684 deletions

View File

@ -367,7 +367,9 @@ def get_node_path():
if get_os() == 'win':
return get_sdk_path() + '/nodejs/node.exe'
elif get_os() == 'mac':
return get_sdk_path() + '/nodejs/node-osx'
import platform
node_bin = 'node-macos_arm64' if platform.machine() == 'arm64' else 'node-osx'
return get_sdk_path() + f'/nodejs/{node_bin}'
else:
return get_sdk_path() + '/nodejs/node-linux64'
@ -380,7 +382,9 @@ def get_haxe_path():
if get_os() == 'win':
return get_kha_path() + '/Tools/windows_x64/haxe.exe'
elif get_os() == 'mac':
return get_kha_path() + '/Tools/macos_x64/haxe'
import platform
macos_arch = 'macos_arm64' if platform.machine() == 'arm64' else 'macos_x64'
return get_kha_path() + f'/Tools/{macos_arch}/haxe'
else:
return get_kha_path() + '/Tools/linux_x64/haxe'