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